mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22: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:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
before_install:
|
before_install: true
|
||||||
- docker build -t enapoleone/tomochain .
|
|
||||||
- docker run enapoleone/tomochain
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
|
|
@ -33,14 +31,6 @@ jobs:
|
||||||
- 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
|
||||||
- go run build/ci.go test -coverage
|
- 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
|
- stage: Lint
|
||||||
os: linux
|
os: linux
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
|
@ -52,6 +42,9 @@ jobs:
|
||||||
script:
|
script:
|
||||||
- go run build/ci.go lint
|
- go run build/ci.go lint
|
||||||
- stage: Push Docker image
|
- stage: Push Docker image
|
||||||
|
before_install:
|
||||||
|
- docker build -t enapoleone/tomochain .
|
||||||
|
- docker run enapoleone/tomochain
|
||||||
deploy:
|
deploy:
|
||||||
provider: script
|
provider: script
|
||||||
script: bash docker_push
|
script: bash docker_push
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue