aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorFelix Lange <fjl@users.noreply.github.com>2017-12-07 22:49:35 +0800
committerGitHub <noreply@github.com>2017-12-07 22:49:35 +0800
commitb5874273cec729adce84acf5848536d20fb60f7c (patch)
treeb27ba2f5024351fb5467173bb2e8cf38d4aa2ac8 /.travis.yml
parent8092106abc06bb8c0435fabdd5cbd6f258abb8cf (diff)
downloadgo-tangerine-b5874273cec729adce84acf5848536d20fb60f7c.tar.gz
go-tangerine-b5874273cec729adce84acf5848536d20fb60f7c.tar.zst
go-tangerine-b5874273cec729adce84acf5848536d20fb60f7c.zip
travis.yml: avoid submodules on builders without tests (#15620)
Also remove installation steps for fuse and golang.org/x/tools/cmd/cover because they're not required anymore.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml28
1 files changed, 12 insertions, 16 deletions
diff --git a/.travis.yml b/.travis.yml
index 1bd69da34..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,7 +31,6 @@ 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
@@ -42,7 +39,6 @@ matrix:
- os: osx
go: 1.9.x
- sudo: required
script:
- brew update
- brew install caskroom/cask/brew-cask
@@ -53,15 +49,12 @@ matrix:
# This builder only tests code linters on latest version of Go
- os: linux
dist: trusty
- sudo: required
go: 1.9.x
env:
- lint
+ git:
+ submodules: false # avoid cloning ethereum/tests
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 lint
# This builder does the Ubuntu PPA and Linux Azure uploads
@@ -72,6 +65,8 @@ matrix:
env:
- ubuntu-ppa
- azure-linux
+ git:
+ submodules: false # avoid cloning ethereum/tests
addons:
apt:
packages:
@@ -104,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
@@ -146,6 +142,8 @@ matrix:
env:
- azure-android
- maven-android
+ git:
+ submodules: false # avoid cloning ethereum/tests
before_install:
- curl https://storage.googleapis.com/golang/go1.9.2.linux-amd64.tar.gz | tar -xz
- export PATH=`pwd`/go/bin:$PATH
@@ -169,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
@@ -193,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: