diff options
author | Felix Lange <fjl@twurst.com> | 2016-05-25 20:07:57 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-06-22 19:42:39 +0800 |
commit | 6c33ba14a4db99409657e6a68a7c629e09ceee3f (patch) | |
tree | 7b73dadb69a0e626e6c2c922da2ac17bba8e94d4 /.travis.yml | |
parent | a38be3eb488a349693a9c9905ab015278281f8db (diff) | |
download | go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar.gz go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar.bz2 go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar.lz go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar.xz go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.tar.zst go-tangerine-6c33ba14a4db99409657e6a68a7c629e09ceee3f.zip |
build: add ci.go, use it everywhere
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.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 54 |
1 files changed, 34 insertions, 20 deletions
diff --git a/.travis.yml b/.travis.yml index 24486d4a0..d0fd4b775 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,31 +1,45 @@ language: go -go: - - 1.4.2 - - 1.5.4 - - 1.6.2 +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 code.google.com/p/go.tools/cmd/goimports - # - go get github.com/golang/lint/golint - # - go get golang.org/x/tools/cmd/vet - go get golang.org/x/tools/cmd/cover -before_script: - # - gofmt -l -w . - # - goimports -l -w . - # - golint . - # - go vet ./... - # - go test -race ./... script: - - make travis-test-with-coverage + - go run build/ci.go install + - go run build/ci.go test -coverage -vet after_success: - - bash <(curl -s https://codecov.io/bash) -env: - global: - - secure: "U2U1AmkU4NJBgKR/uUAebQY87cNL0+1JHjnLOmmXwxYYyj5ralWb1aSuSH3qSXiT93qLBmtaUkuv9fberHVqrbAeVlztVdUsKAq7JMQH+M99iFkC9UiRMqHmtjWJ0ok4COD1sRYixxi21wb/JrMe3M1iL4QJVS61iltjHhVdM64=" -sudo: false + # - go run build/ci.go archive -type tar + notifications: webhooks: urls: - https://webhooks.gitter.im/e/e09ccdce1048c5e03445 on_success: change on_failure: always - on_start: false |