mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-12-03 14:51:05 +01:00
27 lines
663 B
YAML
27 lines
663 B
YAML
machine:
|
|
environment:
|
|
CPATH: "/home/ubuntu/.go_workspace/src/github.com/ansible-semaphore/semaphore/"
|
|
|
|
dependencies:
|
|
pre:
|
|
- git submodule update --init --recursive
|
|
- npm i -g nodemon less pug-cli
|
|
- 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 |