6c33ba14a4
The new build script, ci.go, replaces some of the older shell scripts. ci.go can compile go-ethereum, run the tests, create release archives and debian source packages.
46 lines
905 B
YAML
46 lines
905 B
YAML
language: go
|
|
go_import_path: github.com/ethereum/go-ethereum
|
|
sudo: false
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
dist: trusty
|
|
go: 1.4.2
|
|
- os: linux
|
|
dist: trusty
|
|
go: 1.5.4
|
|
- os: linux
|
|
dist: trusty
|
|
go: 1.6.2
|
|
- os: osx
|
|
go: 1.6.2
|
|
|
|
# This builder does the PPA upload (and nothing else).
|
|
- os: linux
|
|
dist: trusty
|
|
go: 1.6.2
|
|
env: PPA
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- devscripts
|
|
- debhelper
|
|
- dput
|
|
script:
|
|
- go run build/ci.go travis-debsrc
|
|
|
|
install:
|
|
- go get golang.org/x/tools/cmd/cover
|
|
script:
|
|
- go run build/ci.go install
|
|
- go run build/ci.go test -coverage -vet
|
|
after_success:
|
|
# - go run build/ci.go archive -type tar
|
|
|
|
notifications:
|
|
webhooks:
|
|
urls:
|
|
- https://webhooks.gitter.im/e/e09ccdce1048c5e03445
|
|
on_success: change
|
|
on_failure: always
|