forked from bnb-chain/bsc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (38 loc) · 965 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: go
go_import_path: github.com/ethereum/go-ethereum
jobs:
allow_failures:
- stage: build
os: osx
env:
- azure-osx
include:
# This builder only tests code linters on latest version of Go
- stage: lint
os: linux
dist: bionic
go: 1.21.9
env:
- lint
git:
submodules: false # avoid cloning ethereum/tests
script:
- go run build/ci.go lint
- stage: build
os: linux
arch: amd64
dist: bionic
vm:
size: large
go: 1.21.x
env:
- GO111MODULE=on
script:
- travis_wait 120 go run build/ci.go test -timeout 60m $TEST_PACKAGES
- stage: Docker Image Release
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin quay.io/amis
- make docker
- make docker.push
if: tag =~ ^v([0-9]+.)+[0-9]+
env: DOCKER_IMAGE_TAG="$TRAVIS_TAG"