mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
Update .travis.yml
Don't build on docker image on each stages
This commit is contained in:
parent
1a5b166352
commit
82e114c5f7
1 changed files with 4 additions and 11 deletions
15
.travis.yml
15
.travis.yml
|
|
@ -6,9 +6,7 @@ go_import_path: github.com/ethereum/go-ethereum
|
|||
services:
|
||||
- docker
|
||||
|
||||
before_install:
|
||||
- docker build -t enapoleone/tomochain .
|
||||
- docker run enapoleone/tomochain
|
||||
before_install: true
|
||||
|
||||
jobs:
|
||||
include:
|
||||
|
|
@ -33,14 +31,6 @@ jobs:
|
|||
- sudo chown root:$USER /etc/fuse.conf
|
||||
- go run build/ci.go install
|
||||
- go run build/ci.go test -coverage
|
||||
- os: osx
|
||||
go: '1.10'
|
||||
script:
|
||||
- unset -f cd
|
||||
- brew update
|
||||
- brew cask install osxfuse
|
||||
- go run build/ci.go install
|
||||
- go run build/ci.go test -coverage
|
||||
- stage: Lint
|
||||
os: linux
|
||||
dist: trusty
|
||||
|
|
@ -52,6 +42,9 @@ jobs:
|
|||
script:
|
||||
- go run build/ci.go lint
|
||||
- stage: Push Docker image
|
||||
before_install:
|
||||
- docker build -t enapoleone/tomochain .
|
||||
- docker run enapoleone/tomochain
|
||||
deploy:
|
||||
provider: script
|
||||
script: bash docker_push
|
||||
|
|
|
|||
Loading…
Reference in a new issue