mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
24 lines
682 B
YAML
24 lines
682 B
YAML
dependencies:
|
|
pre:
|
|
- 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
|
|
- go get github.com/jteeuwen/go-bindata/...
|
|
- go get github.com/mitchellh/gox
|
|
- go get github.com/cespare/reflex
|
|
|
|
override:
|
|
- mkdir -p "/home/ubuntu/.go_workspace/src/github.com/ansible-semaphore"
|
|
- ln -fs /home/ubuntu/semaphore /home/ubuntu/.go_workspace/src/github.com/ansible-semaphore
|
|
|
|
test:
|
|
pre:
|
|
- ./make.sh ci_test
|
|
- go run ./main.go --migrate
|
|
|
|
override:
|
|
- go vet ./...
|
|
- go test ./...
|