This commit is contained in:
Anton Evangelatov 2017-12-05 16:15:22 +00:00 committed by GitHub
commit 7a73561387

View file

@ -3,7 +3,8 @@ go_import_path: github.com/ethereum/go-ethereum
sudo: false sudo: false
matrix: matrix:
include: include:
- os: linux - if: env(PROJECT) = ethereum
os: linux
dist: trusty dist: trusty
sudo: required sudo: required
go: 1.7.x go: 1.7.x
@ -15,7 +16,8 @@ matrix:
- go run build/ci.go install - go run build/ci.go install
- go run build/ci.go test -coverage - go run build/ci.go test -coverage
- os: linux - if: env(PROJECT) = ethereum
os: linux
dist: trusty dist: trusty
sudo: required sudo: required
go: 1.8.x go: 1.8.x
@ -28,7 +30,8 @@ matrix:
- go run build/ci.go test -coverage - go run build/ci.go test -coverage
# These are the latest Go versions. # These are the latest Go versions.
- os: linux - if: env(PROJECT) = ethereum
os: linux
dist: trusty dist: trusty
sudo: required sudo: required
go: 1.9.x go: 1.9.x
@ -51,7 +54,8 @@ matrix:
- go run build/ci.go test -coverage - go run build/ci.go test -coverage
# This builder only tests code linters on latest version of Go # This builder only tests code linters on latest version of Go
- os: linux - if: env(PROJECT) = ethereum
os: linux
dist: trusty dist: trusty
sudo: required sudo: required
go: 1.9.x go: 1.9.x
@ -65,7 +69,8 @@ matrix:
- go run build/ci.go lint - go run build/ci.go lint
# This builder does the Ubuntu PPA and Linux Azure uploads # This builder does the Ubuntu PPA and Linux Azure uploads
- os: linux - if: env(PROJECT) = ethereum
os: linux
dist: trusty dist: trusty
sudo: required sudo: required
go: 1.9.x go: 1.9.x
@ -102,7 +107,8 @@ matrix:
- go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds - go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
# This builder does the Linux Azure MIPS xgo uploads # This builder does the Linux Azure MIPS xgo uploads
- os: linux - if: env(PROJECT) = ethereum
os: linux
dist: trusty dist: trusty
sudo: required sudo: required
services: services:
@ -128,7 +134,8 @@ matrix:
- go run build/ci.go archive -arch mips64le -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds - go run build/ci.go archive -arch mips64le -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
# This builder does the Android Maven and Azure uploads # This builder does the Android Maven and Azure uploads
- os: linux - if: env(PROJECT) = ethereum
os: linux
dist: precise # Needed for the android tools dist: precise # Needed for the android tools
addons: addons:
apt: apt:
@ -187,7 +194,8 @@ matrix:
- go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds - go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds
# This builder does the Azure archive purges to avoid accumulating junk # This builder does the Azure archive purges to avoid accumulating junk
- os: linux - if: env(PROJECT) = ethereum
os: linux
dist: trusty dist: trusty
sudo: required sudo: required
go: 1.9.x go: 1.9.x
@ -196,6 +204,20 @@ matrix:
script: script:
- go run build/ci.go purge -store gethstore/builds -days 14 - go run build/ci.go purge -store gethstore/builds -days 14
# These are the latest Go versions.
- if: env(PROJECT) = swarm
os: linux
dist: trusty
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
install: install:
- go get golang.org/x/tools/cmd/cover - go get golang.org/x/tools/cmd/cover
script: script: