2014-11-15 17:36:30 -08:00
|
|
|
language: go
|
2016-05-25 05:07:57 -07:00
|
|
|
go_import_path: github.com/ethereum/go-ethereum
|
|
|
|
sudo: false
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
2017-10-31 15:24:11 -07:00
|
|
|
sudo: required
|
2018-05-23 22:32:26 -07:00
|
|
|
go: 1.9.x
|
2017-10-31 15:24:11 -07:00
|
|
|
script:
|
2018-07-15 12:19:46 -07:00
|
|
|
- sudo -E apt-add-repository -y "ppa:chris-lea/libsodium"
|
|
|
|
- sudo apt-get update
|
|
|
|
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install fuse libdb-dev libleveldb-dev zlib1g-dev libtinfo-dev libsodium-dev
|
|
|
|
- sudo cp /usr/lib/x86_64-linux-gnu/libsodium.so.13 /usr/lib/x86_64-linux-gnu/libsodium.so.18
|
2017-10-31 15:24:11 -07:00
|
|
|
- sudo modprobe fuse
|
|
|
|
- sudo chmod 666 /dev/fuse
|
|
|
|
- sudo chown root:$USER /etc/fuse.conf
|
2018-07-15 12:30:00 -07:00
|
|
|
- sudo ./build/install-constellation-linux.sh
|
2018-07-15 12:19:46 -07:00
|
|
|
- export PATH=$PATH:$(pwd)/constellation-0.3.2-ubuntu1604
|
2017-10-31 15:24:11 -07:00
|
|
|
- go run build/ci.go install
|
2018-07-15 12:19:46 -07:00
|
|
|
- go run build/ci.go test -coverage
|
2017-10-31 15:24:11 -07:00
|
|
|
|
|
|
|
# These are the latest Go versions.
|
2016-08-16 23:49:40 -07:00
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
2017-10-31 15:24:11 -07:00
|
|
|
sudo: required
|
2018-05-23 22:32:26 -07:00
|
|
|
go: 1.10.x
|
2017-10-31 15:24:11 -07:00
|
|
|
script:
|
2018-07-15 12:19:46 -07:00
|
|
|
- sudo -E apt-add-repository -y "ppa:chris-lea/libsodium"
|
|
|
|
- sudo apt-get update
|
|
|
|
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install fuse libdb-dev libleveldb-dev zlib1g-dev libtinfo-dev libsodium-dev
|
|
|
|
- sudo cp /usr/lib/x86_64-linux-gnu/libsodium.so.13 /usr/lib/x86_64-linux-gnu/libsodium.so.18
|
2017-10-31 15:24:11 -07:00
|
|
|
- sudo modprobe fuse
|
|
|
|
- sudo chmod 666 /dev/fuse
|
|
|
|
- sudo chown root:$USER /etc/fuse.conf
|
2018-07-15 12:30:00 -07:00
|
|
|
- sudo ./build/install-constellation-linux.sh
|
2018-07-15 12:19:46 -07:00
|
|
|
- export PATH=$PATH:$(pwd)/constellation-0.3.2-ubuntu1604
|
2017-10-31 15:24:11 -07:00
|
|
|
- go run build/ci.go install
|
2018-07-15 12:19:46 -07:00
|
|
|
- go run build/ci.go test -coverage
|
2017-10-31 15:24:11 -07:00
|
|
|
|
2016-05-25 05:07:57 -07:00
|
|
|
- os: osx
|
2018-05-23 22:32:26 -07:00
|
|
|
go: 1.10.x
|
2017-10-31 15:24:11 -07:00
|
|
|
script:
|
2018-05-23 22:32:26 -07:00
|
|
|
- unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703
|
2017-10-31 15:24:11 -07:00
|
|
|
- brew update
|
|
|
|
- brew cask install osxfuse
|
2018-07-15 12:19:46 -07:00
|
|
|
- brew install berkeley-db leveldb libsodium haskell-stack
|
|
|
|
- ./build/install-constellation-mac.sh
|
2017-10-31 15:24:11 -07:00
|
|
|
- go run build/ci.go install
|
2018-05-23 22:32:26 -07:00
|
|
|
- go run build/ci.go test -coverage $TEST_PACKAGES
|
2016-05-25 05:07:57 -07:00
|
|
|
|
2018-05-23 22:32:26 -07:00
|
|
|
# This builder only tests code linters on latest version of Go
|
2016-05-25 05:07:57 -07:00
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
2018-05-23 22:32:26 -07:00
|
|
|
go: 1.10.x
|
|
|
|
env:
|
|
|
|
- lint
|
|
|
|
git:
|
|
|
|
submodules: false # avoid cloning ethereum/tests
|
|
|
|
script:
|
|
|
|
- go run build/ci.go lint
|
|
|
|
|
2015-03-24 02:41:04 -07:00
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/e09ccdce1048c5e03445
|
2016-05-04 09:45:50 -07:00
|
|
|
on_success: change
|
2018-07-15 12:26:29 -07:00
|
|
|
on_failure: always
|