2018-09-11 08:25:24 -07:00
|
|
|
# simplifed version of the upstream travis configuration
|
|
|
|
|
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:
|
|
|
|
- sudo modprobe fuse
|
|
|
|
- sudo chmod 666 /dev/fuse
|
|
|
|
- sudo chown root:$USER /etc/fuse.conf
|
|
|
|
- go run build/ci.go install
|
2018-10-09 23:04:45 -07:00
|
|
|
- go run build/ci.go test -coverage $TEST_PACKAGES
|
2017-10-31 15:24:11 -07:00
|
|
|
|
2016-05-25 05:07:57 -07:00
|
|
|
- os: osx
|
2018-10-09 23:04:45 -07:00
|
|
|
osx_image: xcode9.2 # so we don't have to deal with Kernel Extension Consent UI which is never possible in CI
|
|
|
|
go: 1.9.x
|
|
|
|
sudo: required
|
2017-10-31 15:24:11 -07:00
|
|
|
script:
|
|
|
|
- brew update
|
2018-10-09 23:04:45 -07:00
|
|
|
- brew install caskroom/cask/brew-cask
|
2017-10-31 15:24:11 -07:00
|
|
|
- brew cask install osxfuse
|
|
|
|
- go run build/ci.go install
|
2018-05-23 22:32:26 -07:00
|
|
|
- go run build/ci.go test -coverage $TEST_PACKAGES
|