Semaphore/circle.yml
Matej Kramny cafdcf2d93 Fix CI
2016-05-24 10:58:34 +01:00

32 lines
887 B
YAML

machine:
environment:
CPATH: "/home/ubuntu/.go_workspace/src/github.com/ansible-semaphore/semaphore/"
dependencies:
pre:
- git submodule update --init --recursive
- sudo apt-add-repository -y 'deb
http://ppa.launchpad.net/ondrej/mysql-experimental/ubuntu precise
main'
- sudo apt-get update; sudo DEBIAN_FRONTEND=noninteractive apt-get
install -y mysql-server-5.6
- npm i -g nodemon less jade
- npm i async
- go get github.com/jteeuwen/go-bindata/...
- go get github.com/mitchellh/gox
- go get github.com/cespare/reflex
override:
- mkdir -p $CPATH
- rsync -azC --delete ./ $CPATH
- cd $CPATH && ./make.sh ci_test
- cd $CPATH && go get ./...
test:
pre:
- cd $CPATH && go run cli/main.go --migrate
override:
- cd $CPATH && go vet ./...
- cd $CPATH && go test ./...
- cd $CPATH && ./make.sh