mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
Merge pull request #65 from etienne-napoleone/travis-timeout
Update .travis.yml
This commit is contained in:
commit
77966cccc1
1 changed files with 14 additions and 10 deletions
24
.travis.yml
24
.travis.yml
|
|
@ -6,6 +6,15 @@ before_install: skip
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
|
- stage: Lint
|
||||||
|
os: linux
|
||||||
|
sudo: false
|
||||||
|
dist: trusty
|
||||||
|
go: '1.10'
|
||||||
|
git:
|
||||||
|
submodules: false
|
||||||
|
script:
|
||||||
|
- go run build/ci.go lint
|
||||||
- stage: Build and test
|
- stage: Build and test
|
||||||
os: linux
|
os: linux
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
|
@ -15,7 +24,9 @@ jobs:
|
||||||
- sudo chmod 666 /dev/fuse
|
- sudo chmod 666 /dev/fuse
|
||||||
- sudo chown root:$USER /etc/fuse.conf
|
- sudo chown root:$USER /etc/fuse.conf
|
||||||
- go run build/ci.go install
|
- go run build/ci.go install
|
||||||
|
- while sleep 540; do echo "[ still running ]"; done &
|
||||||
- go run build/ci.go test -coverage
|
- go run build/ci.go test -coverage
|
||||||
|
- kill %1
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: trusty
|
dist: trusty
|
||||||
go: '1.10'
|
go: '1.10'
|
||||||
|
|
@ -24,16 +35,9 @@ jobs:
|
||||||
- sudo chmod 666 /dev/fuse
|
- sudo chmod 666 /dev/fuse
|
||||||
- sudo chown root:$USER /etc/fuse.conf
|
- sudo chown root:$USER /etc/fuse.conf
|
||||||
- go run build/ci.go install
|
- go run build/ci.go install
|
||||||
|
- while sleep 540; do echo "[ still running ]"; done &
|
||||||
- go run build/ci.go test -coverage
|
- go run build/ci.go test -coverage
|
||||||
- stage: Lint
|
- kill %1
|
||||||
os: linux
|
|
||||||
sudo: false
|
|
||||||
dist: trusty
|
|
||||||
go: '1.10'
|
|
||||||
git:
|
|
||||||
submodules: false
|
|
||||||
script:
|
|
||||||
- go run build/ci.go lint
|
|
||||||
- stage: Build and push Docker image
|
- stage: Build and push Docker image
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
|
@ -50,8 +54,8 @@ jobs:
|
||||||
script: bash docker_rebuild.sh
|
script: bash docker_rebuild.sh
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- name: Build and test
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
|
- name: Build and test
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
if: type != pull_request AND branch = master
|
if: type != pull_request AND branch = master
|
||||||
- name: Trigger rebuild of infrastructure image
|
- name: Trigger rebuild of infrastructure image
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue