forked from semaphoreui/semaphore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
29 lines (25 loc) · 813 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
machine:
environment:
CPATH: "/home/ubuntu/.go_workspace/src/github.com/ansible-semaphore/semaphore/"
dependencies:
pre:
- sudo rm -rf /usr/local/go
- sudo curl -L https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz > /tmp/go.tar.gz
- sudo tar -C /usr/local -xzf /tmp/go.tar.gz
- git submodule update --init --recursive
- npm i -g less pug-cli
- npm i async
- go get github.com/gobuffalo/packr/...
- go get github.com/mitchellh/gox
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 -config config.json
override:
- cd $CPATH && go vet ./...
- cd $CPATH && go test ./...
- cd $CPATH && ./make.sh