Use Travis only for ARM64 - https://github.com/status-im/nimbus-eth2/pull/2167
This commit is contained in:
parent
6f1ecc8df7
commit
8805e5f061
30
.travis.yml
30
.travis.yml
|
@ -16,23 +16,28 @@ go: "1.14.x"
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
# Due to Travis new pricing we want to dedicate the resources we have
|
||||||
arch: amd64
|
# for ARM64 testing, hence Linux/Mac on AMD are commented out
|
||||||
env:
|
# https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing
|
||||||
- NPROC=2
|
|
||||||
before_install:
|
|
||||||
- export GOPATH=$HOME/go
|
|
||||||
## arm64 is very unreliable and slow, disabled for now
|
|
||||||
# - os: linux
|
# - os: linux
|
||||||
# arch: arm64
|
# arch: amd64
|
||||||
# env:
|
# env:
|
||||||
# - NPROC=6 # Worth trying more than 2 parallel jobs: https://travis-ci.community/t/no-cache-support-on-arm64/5416/8
|
# - NPROC=2
|
||||||
# # (also used to get a different cache key than the amd64 one)
|
|
||||||
# before_install:
|
# before_install:
|
||||||
# - export GOPATH=$HOME/go
|
# - export GOPATH=$HOME/go
|
||||||
- os: osx
|
# - os: osx
|
||||||
|
# env:
|
||||||
|
# - NPROC=2
|
||||||
|
# before_install:
|
||||||
|
# - export GOPATH=$HOME/go
|
||||||
|
|
||||||
|
- os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: arm64
|
||||||
env:
|
env:
|
||||||
- NPROC=2
|
- NPROC=6 # Worth trying more than 2 parallel jobs: https://travis-ci.community/t/no-cache-support-on-arm64/5416/8
|
||||||
|
# (also used to get a different cache key than the amd64 one)
|
||||||
before_install:
|
before_install:
|
||||||
- export GOPATH=$HOME/go
|
- export GOPATH=$HOME/go
|
||||||
|
|
||||||
|
@ -51,4 +56,3 @@ script:
|
||||||
- nimble install -y --depsOnly
|
- nimble install -y --depsOnly
|
||||||
- nimble test
|
- nimble test
|
||||||
- nimble examples_build
|
- nimble examples_build
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit c1bb5356bb52984178c269886b6835b532ef30c2
|
Loading…
Reference in New Issue