mirror of https://github.com/statping/statping
building in scss
parent
412ee2b429
commit
54a3b8790d
|
@ -51,14 +51,16 @@ notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then travis_wait 30 docker pull karalabe/xgo-latest; fi
|
|
||||||
- gem install sass
|
- gem install sass
|
||||||
|
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then travis_wait 30 docker pull karalabe/xgo-latest; fi
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
|
- mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
|
||||||
- psql -c 'create database test;' -U postgres
|
- psql -c 'create database test;' -U postgres
|
||||||
- go get github.com/stretchr/testify/assert
|
- go get github.com/stretchr/testify/assert
|
||||||
- go get golang.org/x/tools/cmd/cover
|
- go get golang.org/x/tools/cmd/cover
|
||||||
|
- go get github.com/mattn/goveralls
|
||||||
|
- go install github.com/mattn/goveralls
|
||||||
- go get github.com/rendon/testcli
|
- go get github.com/rendon/testcli
|
||||||
- go get github.com/karalabe/xgo
|
- go get github.com/karalabe/xgo
|
||||||
- go get github.com/GeertJohan/go.rice
|
- go get github.com/GeertJohan/go.rice
|
||||||
|
@ -67,7 +69,7 @@ before_script:
|
||||||
- go install
|
- go install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test -v
|
- go test -v -covermode=count -coverprofile=coverage.out && $GOPATH/bin/goveralls -coverprofile=coverage.out -service=travis -repotoken $COVERALLS
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then /bin/bash -c .travis/build.sh; fi
|
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then /bin/bash -c .travis/build.sh; fi
|
||||||
|
|
Loading…
Reference in New Issue