1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/libnetwork/.circleci/config.yml

79 lines
1.5 KiB
YAML
Raw Normal View History

version: 2
defaults: &defaults
working_directory: ~/go/src/github.com/docker/libnetwork
docker:
- image: 'circleci/golang:1.10'
environment:
dockerbuildargs: .
dockerargs: --privileged -e CIRCLECI
jobs:
builder:
<<: *defaults
steps:
- checkout
- setup_remote_docker:
version: 18.05.0-ce
reusable: true
exclusive: false
- run: make builder
build:
<<: *defaults
steps:
- checkout
- setup_remote_docker:
version: 18.05.0-ce
reusable: true
exclusive: false
- run: make build
lint:
<<: *defaults
steps:
- checkout
- setup_remote_docker:
version: 18.05.0-ce
reusable: true
exclusive: false
- run: make check
cross:
<<: *defaults
steps:
- checkout
- setup_remote_docker:
version: 18.05.0-ce
reusable: true
exclusive: false
- run: make cross
unit-tests:
<<: *defaults
steps:
- checkout
- setup_remote_docker:
version: 18.05.0-ce
reusable: true
exclusive: false
- run: make unit-tests
workflows:
version: 2
ci:
jobs:
- builder
- build:
requires:
- builder
- lint:
requires:
- builder
- cross:
requires:
- builder
- unit-tests:
requires:
- builder