mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
32 lines
887 B
YAML
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 |