filebrowser/.circleci/config.yml
Henrique Dias de72932a1e testLicense: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-05-11 21:58:24 +01:00

58 lines
1.1 KiB
YAML

version: 2
jobs:
lint:
docker:
- image: golangci/golangci-lint:v1.16
steps:
- checkout
- run: golangci-lint run -v
build-node:
docker:
- image: circleci/node
steps:
- checkout
- run:
name: "Pull Submodules"
command: |
git submodule init
git submodule update --remote
- run:
name: "Build"
command: ./wizard.sh -a
- persist_to_workspace:
root: .
paths:
- '*'
build-go:
docker:
- image: circleci/golang
steps:
- attach_workspace:
at: '~/project'
- run:
name: "Compile"
command: ./wizard.sh -c
- persist_to_workspace:
root: .
paths:
- '*'
docker-latest:
docker:
- image: docker
steps:
- attach_workspace:
at: '~/project'
- run: ls
workflows:
version: 2
build-workflow:
jobs:
- lint
- build-node
- build-go:
requires:
- build-node
- docker-latest:
requires:
- build-go