Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 28 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,21 @@ branches:
only:
- master
- /v(\d+\.)(\d+\.)(\d)/
matrix:
jobs:
include:
- os: linux
# This builder only tests code linters on latest version of Go
- stage: lint
os: linux
dist: trusty
go: 1.12.x
env:
- lint
script:
- go run build/ci.go lint

# Go 1.11.x is needed because of the Ubuntu PPA builds
- stage: build
os: linux
dist: trusty
sudo: required
go: 1.11.x
Expand All @@ -19,7 +31,8 @@ matrix:
- go run build/ci.go test -coverage $TEST_PACKAGES

# These are the latest Go versions.
- os: linux
- stage: build
os: linux
dist: trusty
sudo: required
go: 1.12.x
Expand All @@ -30,7 +43,8 @@ matrix:
- go run build/ci.go install
- go run build/ci.go test -coverage $TEST_PACKAGES

- os: osx
- stage: build
os: osx
go: 1.12.x
script:
- echo "Increase the maximum number of open file descriptors on macOS"
Expand All @@ -45,17 +59,9 @@ matrix:
- go run build/ci.go install
- go run build/ci.go test -coverage $TEST_PACKAGES

# This builder only tests code linters on latest version of Go
- os: linux
dist: trusty
go: 1.12.x
env:
- lint
script:
- go run build/ci.go lint

# This builder does the Ubuntu PPA upload
- if: type = push
- stage: deploy
if: type = push
os: linux
dist: trusty
go: 1.12.x
Expand All @@ -75,7 +81,8 @@ matrix:
- go run build/ci.go debsrc -upload ethereum/ethereum -sftp-user ethswarm -signer "Ethereum Swarm Linux Builder <swarm@ethereum.org>"

# This builder does the Linux Azure uploads
- if: type = push
- stage: deploy
if: type = push
os: linux
dist: trusty
sudo: required
Expand Down Expand Up @@ -107,7 +114,8 @@ matrix:
- go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload ethswarm/builds

# This builder does the Linux Azure MIPS xgo uploads
- if: type = push
- stage: deploy
if: type = push
os: linux
dist: trusty
services:
Expand All @@ -133,7 +141,8 @@ matrix:
- go run build/ci.go archive -arch mips64le -type tar -signer LINUX_SIGNING_KEY -upload ethswarm/builds

# This builder does the OSX Azure, iOS CocoaPods and iOS Azure uploads
- if: type = push
- stage: deploy
if: type = push
os: osx
go: 1.12.x
env:
Expand All @@ -144,7 +153,8 @@ matrix:


# This builder does the Azure archive purges to avoid accumulating junk
- if: type = cron
- stage: cleanup
if: type = cron
os: linux
dist: trusty
go: 1.12.x
Expand Down