go-ethereum/.travis.yml

37 lines
1.3 KiB
YAML
Raw Normal View History

2014-11-15 19:36:30 -06:00
language: go
go:
2015-02-25 04:40:52 -06:00
- 1.4.2
2014-11-15 18:22:01 -06:00
before_install:
2015-02-25 04:40:52 -06:00
- sudo add-apt-repository ppa:beineri/opt-qt541 -y
2014-11-15 18:22:01 -06:00
- sudo apt-get update -qq
2015-01-30 17:24:51 -06:00
- sudo apt-get install -yqq libgmp3-dev libreadline6-dev qt54quickcontrols qt54webengine
install:
# - go get code.google.com/p/go.tools/cmd/goimports
# - go get github.com/golang/lint/golint
2014-12-21 11:18:43 -06:00
# - go get golang.org/x/tools/cmd/vet
2014-12-21 12:05:59 -06:00
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
2014-11-16 08:34:28 -06:00
- go get github.com/mattn/goveralls
2014-11-15 19:45:05 -06:00
before_script:
# - gofmt -l -w .
# - goimports -l -w .
# - golint .
2014-11-17 10:53:24 -06:00
# - go vet ./...
2014-11-14 22:23:31 -06:00
# - go test -race ./...
2014-11-15 19:45:05 -06:00
script:
2015-02-05 17:23:22 -06:00
- ./gocoverage.sh
after_success:
- if [ "$COVERALLS_TOKEN" ]; then goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN; fi
2014-11-16 08:34:28 -06:00
env:
2015-01-30 17:24:51 -06:00
global:
- PKG_CONFIG_PATH=/opt/qt54/lib/pkgconfig
- LD_LIBRARY_PATH=/opt/qt54/lib
- secure: "U2U1AmkU4NJBgKR/uUAebQY87cNL0+1JHjnLOmmXwxYYyj5ralWb1aSuSH3qSXiT93qLBmtaUkuv9fberHVqrbAeVlztVdUsKAq7JMQH+M99iFkC9UiRMqHmtjWJ0ok4COD1sRYixxi21wb/JrMe3M1iL4QJVS61iltjHhVdM64="
2014-11-16 08:34:28 -06:00
2015-03-24 04:41:04 -05:00
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/e09ccdce1048c5e03445
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false