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:
|
||||
environment:
|
||||
GODIST: "go1.7rc3.linux-amd64.tar.gz"
|
||||
test:
|
||||
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
|
||||
- echo -e "[postgres]\nhost=\"localhost\"\nport=5432\nuser=\"ubuntu\"\ndbname=\"sqlboiler\"" > sqlboiler.toml
|
||||
- createdb -U ubuntu sqlboiler
|
||||
|
@ -16,6 +10,15 @@ machine:
|
|||
post:
|
||||
- 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:
|
||||
cache_directories:
|
||||
- ~/download
|
||||
|
|
Loading…
Reference in a new issue