Semaphore/circle.yml

32 lines
887 B
YAML
Raw Normal View History

2016-05-21 01:13:16 +02:00
machine:
environment:
CPATH: "/home/ubuntu/.go_workspace/src/github.com/ansible-semaphore/semaphore/"
2016-01-05 00:32:53 +01:00
dependencies:
pre:
2016-05-21 01:47:09 +02:00
- git submodule update --init --recursive
2016-01-05 00:32:53 +01:00
- 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
2016-05-21 01:47:09 +02:00
- npm i -g nodemon less jade
- npm i async
2016-01-05 00:32:53 +01:00
- go get github.com/jteeuwen/go-bindata/...
2016-04-30 09:52:33 +02:00
- go get github.com/mitchellh/gox
- go get github.com/cespare/reflex
2016-01-05 00:32:53 +01:00
override:
2016-05-21 01:13:16 +02:00
- mkdir -p $CPATH
- rsync -azC --delete ./ $CPATH
2016-05-21 01:47:09 +02:00
- cd $CPATH && ./make.sh ci_test
- cd $CPATH && go get ./...
2016-01-05 00:32:53 +01:00
test:
pre:
2016-05-24 11:58:34 +02:00
- cd $CPATH && go run cli/main.go --migrate
2016-01-05 00:32:53 +01:00
override:
2016-05-21 01:13:16 +02:00
- cd $CPATH && go vet ./...
- cd $CPATH && go test ./...
2016-05-21 01:47:09 +02:00
- cd $CPATH && ./make.sh