mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
44 lines
968 B
YAML
44 lines
968 B
YAML
version: 2
|
|
jobs:
|
|
build-go1.9:
|
|
docker:
|
|
- image: kolide/fleet-builder:1.9
|
|
working_directory: /go/src/github.com/kolide/fleet
|
|
steps: &steps
|
|
- checkout
|
|
- restore_cache:
|
|
keys:
|
|
- vendor-cache-{{ .Branch }}-{{ checksum "Gopkg.lock" }}
|
|
- vendor-cache-{{ .Branch }}
|
|
- vendor-cache
|
|
|
|
- run:
|
|
name: "fix node-sass"
|
|
command: |
|
|
yarn remove node-sass
|
|
yarn add node-sass@latest
|
|
|
|
- run: make deps
|
|
- save_cache:
|
|
key: vendor-cache-{{ .Branch }}-{{ checksum "Gopkg.lock" }}
|
|
paths:
|
|
- vendor
|
|
- save_cache:
|
|
key: vendor-cache-{{ .Branch }}
|
|
paths:
|
|
- vendor
|
|
- save_cache:
|
|
key: vendor-cache
|
|
paths:
|
|
- vendor
|
|
|
|
- run: make generate
|
|
- run: make test
|
|
- run: make build
|
|
|
|
workflows:
|
|
version: 2
|
|
build:
|
|
jobs:
|
|
- build-go1.9
|