aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml46
1 files changed, 28 insertions, 18 deletions
diff --git a/.travis.yml b/.travis.yml
index 8a7f65e3d..cc1b185fc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,7 +8,6 @@ matrix:
sudo: required
go: 1.7.x
script:
- - sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install fuse
- sudo modprobe fuse
- sudo chmod 666 /dev/fuse
- sudo chown root:$USER /etc/fuse.conf
@@ -20,7 +19,6 @@ matrix:
sudo: required
go: 1.8.x
script:
- - sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install fuse
- sudo modprobe fuse
- sudo chmod 666 /dev/fuse
- sudo chown root:$USER /etc/fuse.conf
@@ -33,22 +31,31 @@ matrix:
sudo: required
go: 1.9.x
script:
- - sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install fuse
- sudo modprobe fuse
- sudo chmod 666 /dev/fuse
- sudo chown root:$USER /etc/fuse.conf
- go run build/ci.go install
- - go run build/ci.go test -coverage -misspell
+ - go run build/ci.go test -coverage
- os: osx
go: 1.9.x
- sudo: required
script:
- brew update
- brew install caskroom/cask/brew-cask
- brew cask install osxfuse
- go run build/ci.go install
- - go run build/ci.go test -coverage -misspell
+ - go run build/ci.go test -coverage
+
+ # This builder only tests code linters on latest version of Go
+ - os: linux
+ dist: trusty
+ go: 1.9.x
+ env:
+ - lint
+ git:
+ submodules: false # avoid cloning ethereum/tests
+ script:
+ - go run build/ci.go lint
# This builder does the Ubuntu PPA and Linux Azure uploads
- os: linux
@@ -58,6 +65,8 @@ matrix:
env:
- ubuntu-ppa
- azure-linux
+ git:
+ submodules: false # avoid cloning ethereum/tests
addons:
apt:
packages:
@@ -90,12 +99,13 @@ matrix:
# This builder does the Linux Azure MIPS xgo uploads
- os: linux
dist: trusty
- sudo: required
services:
- docker
go: 1.9.x
env:
- azure-linux-mips
+ git:
+ submodules: false # avoid cloning ethereum/tests
script:
- go run build/ci.go xgo --alltools -- --targets=linux/mips --ldflags '-extldflags "-static"' -v
- for bin in build/bin/*-linux-mips; do mv -f "${bin}" "${bin/-linux-mips/}"; done
@@ -132,17 +142,19 @@ matrix:
env:
- azure-android
- maven-android
+ git:
+ submodules: false # avoid cloning ethereum/tests
before_install:
- - curl https://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz | tar -xz
+ - curl https://storage.googleapis.com/golang/go1.9.2.linux-amd64.tar.gz | tar -xz
- export PATH=`pwd`/go/bin:$PATH
- export GOROOT=`pwd`/go
- export GOPATH=$HOME/go
script:
# Build the Android archive and upload it to Maven Central and Azure
- - curl https://dl.google.com/android/repository/android-ndk-r14b-linux-x86_64.zip -o android-ndk-r14b.zip
- - unzip -q android-ndk-r14b.zip && rm android-ndk-r14b.zip
- - mv android-ndk-r14b $HOME
- - export ANDROID_NDK=$HOME/android-ndk-r14b
+ - curl https://dl.google.com/android/repository/android-ndk-r15c-linux-x86_64.zip -o android-ndk-r15c.zip
+ - unzip -q android-ndk-r15c.zip && rm android-ndk-r15c.zip
+ - mv android-ndk-r15c $HOME
+ - export ANDROID_NDK=$HOME/android-ndk-r15c
- mkdir -p $GOPATH/src/github.com/ethereum
- ln -s `pwd` $GOPATH/src/github.com/ethereum
@@ -155,6 +167,8 @@ matrix:
- azure-osx
- azure-ios
- cocoapods-ios
+ git:
+ submodules: false # avoid cloning ethereum/tests
script:
- go run build/ci.go install
- go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -upload gethstore/builds
@@ -179,15 +193,11 @@ matrix:
go: 1.9.x
env:
- azure-purge
+ git:
+ submodules: false # avoid cloning ethereum/tests
script:
- go run build/ci.go purge -store gethstore/builds -days 14
-install:
- - go get golang.org/x/tools/cmd/cover
-script:
- - go run build/ci.go install
- - go run build/ci.go test -coverage
-
notifications:
webhooks:
urls: