Fix circle.yml
This commit is contained in:
parent
99a149d9d7
commit
8f0abc95ee
1 changed files with 10 additions and 7 deletions
17
circle.yml
17
circle.yml
|
@ -1,11 +1,5 @@
|
||||||
machine:
|
test:
|
||||||
environment:
|
|
||||||
GODIST: "go1.7rc3.linux-amd64.tar.gz"
|
|
||||||
pre:
|
pre:
|
||||||
- mkdir -p download
|
|
||||||
- test -e download/$GODIST || curl -o download/$GODIST https://storage.googleapis.com/golang/$GODIST
|
|
||||||
- sudo rm -rf /usr/local/go
|
|
||||||
- sudo tar -C /usr/local -xzf download/$GODIST
|
|
||||||
- go get github.com/jstemmer/go-junit-report
|
- go get github.com/jstemmer/go-junit-report
|
||||||
- echo -e "[postgres]\nhost=\"localhost\"\nport=5432\nuser=\"ubuntu\"\ndbname=\"sqlboiler\"" > sqlboiler.toml
|
- echo -e "[postgres]\nhost=\"localhost\"\nport=5432\nuser=\"ubuntu\"\ndbname=\"sqlboiler\"" > sqlboiler.toml
|
||||||
- createdb -U ubuntu sqlboiler
|
- createdb -U ubuntu sqlboiler
|
||||||
|
@ -16,6 +10,15 @@ machine:
|
||||||
post:
|
post:
|
||||||
- cat $CIRCLE_ARTIFACTS/gotest.txt | go-junit-report > $CIRCLE_TEST_REPORTS/junit.xml
|
- cat $CIRCLE_ARTIFACTS/gotest.txt | go-junit-report > $CIRCLE_TEST_REPORTS/junit.xml
|
||||||
|
|
||||||
|
machine:
|
||||||
|
environment:
|
||||||
|
GODIST: "go1.7rc3.linux-amd64.tar.gz"
|
||||||
|
post:
|
||||||
|
- mkdir -p download
|
||||||
|
- test -e download/$GODIST || curl -o download/$GODIST https://storage.googleapis.com/golang/$GODIST
|
||||||
|
- sudo rm -rf /usr/local/go
|
||||||
|
- sudo tar -C /usr/local -xzf download/$GODIST
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
cache_directories:
|
cache_directories:
|
||||||
- ~/download
|
- ~/download
|
||||||
|
|
Loading…
Reference in a new issue