travis: update build matrix

This commit is contained in:
Alan Chen 2017-09-07 14:32:33 +08:00
parent 62f9bf3d2c
commit 7d9227327c
1 changed files with 9 additions and 17 deletions

View File

@ -1,22 +1,14 @@
language: go language: go
go_import_path: github.com/getamis/istanbul-tools go_import_path: github.com/getamis/istanbul-tools
sudo: required sudo: required
matrix: os: linux
include: dist: trusty
- os: linux go:
dist: trusty - 1.7.6
sudo: required - 1.8.3
go: 1.7.6 env:
script: - TEST=tests/functional
- travis_wait 120 go test -v $(glide novendor | grep -v "\.\/tests\/\.\.\.") --timeout 120m && cd tests && travis_wait 120 ginkgo -r --progress - TEST=tests/quorum
# These are the latest Go versions.
- os: linux
dist: trusty
sudo: required
go: 1.8.3
script:
- travis_wait 120 go test -v $(glide novendor | grep -v "\.\/tests\/\.\.\.") --timeout 120m && cd tests && travis_wait 120 ginkgo -r --progress
services: services:
- docker - docker
@ -26,7 +18,7 @@ install:
- go get github.com/onsi/ginkgo/ginkgo - go get github.com/onsi/ginkgo/ginkgo
script: script:
- travis_wait 120 go test -v $(glide novendor | grep -v "\.\/tests\/\.\.\.") --timeout 120m && cd tests && travis_wait 120 ginkgo -r --progress - travis_wait 120 go test -v $(glide novendor | grep -v "\.\/tests\/\.\.\.") --timeout 120m && cd ${TRAVIS_BUILD_DIR}/${TEST} && travis_wait 120 ginkgo -r --progress
notifications: notifications:
slack: maicoin:p2HicxEGvZveE900zgacSYwL slack: maicoin:p2HicxEGvZveE900zgacSYwL