Update .travis.yml

Rename the released binary
This commit is contained in:
etienne-napoleone 2018-07-26 11:02:05 +07:00
parent 26afc88c9c
commit f1a84d921f
No known key found for this signature in database
GPG key ID: 13183AEB698F46A9

View file

@ -2,7 +2,6 @@ sudo: required
language: go language: go
go_import_path: github.com/ethereum/go-ethereum go_import_path: github.com/ethereum/go-ethereum
services: skip services: skip
before_install: skip
jobs: jobs:
include: include:
@ -42,15 +41,14 @@ jobs:
- kill %1 - kill %1
- stage: Github release - stage: Github release
script:
- make tomo
- mv build/bin/tomo build/bin/tomo-linux-amd64
deploy: deploy:
provider: releases provider: releases
api_key: $GITHUB_TOKEN api_key: $GITHUB_TOKEN
# name:
# body: (formating not preserved)
# prerelease: true
# draft: true
file: file:
- "build/bin/tomo" - "build/bin/tomo-linux-amd64"
skip_cleanup: true skip_cleanup: true
on: on:
branch: master branch: master
@ -62,6 +60,8 @@ jobs:
before_install: before_install:
- docker build -t tomochain/tomochain . - docker build -t tomochain/tomochain .
- docker run tomochain/tomochain - docker run tomochain/tomochain
install: skip
script: skip
deploy: deploy:
provider: script provider: script
script: script:
@ -81,6 +81,7 @@ jobs:
- stage: Trigger rebuild of infrastructure image - stage: Trigger rebuild of infrastructure image
sudo: false sudo: false
install: skip
script: bash docker_rebuild.sh script: bash docker_rebuild.sh
stages: stages: