2016-09-28 08:07:30 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2017-05-23 21:34:07 +00:00
|
|
|
- 1.8
|
2016-09-28 08:07:30 +00:00
|
|
|
|
|
|
|
sudo: false
|
|
|
|
|
2017-02-27 12:52:10 +00:00
|
|
|
dist: trusty
|
|
|
|
|
2016-09-28 08:07:30 +00:00
|
|
|
install:
|
|
|
|
- go get golang.org/x/tools/cmd/cover
|
2017-10-20 10:10:28 +00:00
|
|
|
- make mock-install
|
|
|
|
- make mock
|
2016-09-28 08:07:30 +00:00
|
|
|
|
2017-10-20 10:10:28 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- stage: Lint
|
|
|
|
script: make lint
|
|
|
|
- stage: Test unit and integration
|
|
|
|
script: make test-unit-coverage
|
|
|
|
- stage: Test e2e
|
|
|
|
script: travis_wait make test-e2e
|
2016-09-28 08:07:30 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- .ethereumtest
|