You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gopsutil/.circleci/config.yml

29 lines
601 B
YAML

version: 2
jobs:
test:
docker:
- image: circleci/golang:1.9
working_directory: /home/circleci/go/src/github.com/shirou/gopsutil
environment:
GOPATH: /home/circleci/go
steps:
- run:
command: |
echo -e 'export PATH=$GOPATH/bin:$PATH' >> $BASH_ENV
source /home/circleci/.bashrc
- checkout
- run:
command: make init_tools
- run:
command: dep ensure
- run:
command: go build -v
- run:
command: make build_test
workflows:
version: 2
test:
jobs:
- test