update .travis.yml

fix the release conditions
This commit is contained in:
etienne-napoleone 2018-08-21 10:21:03 +07:00
parent f74109198e
commit 9d78bda4c5
No known key found for this signature in database
GPG key ID: 13183AEB698F46A9

View file

@ -88,11 +88,11 @@ stages:
- name: Lint
- name: Build and test
- name: Github release
if: type != pull_request AND branch = master AND tag = true AND repo = tomochain/tomochain
if: type != pull_request AND branch = master AND tag IS present AND repo = tomochain/tomochain
- name: Build and push untagged commit into image tomochain
if: type != pull_request AND branch = master AND tag IS blank AND repo = tomochain/tomochain
- name: Build and push tagged commit into image tomochain
if: type != pull_request AND branch = master AND tag = true AND repo = tomochain/tomochain
if: type != pull_request AND branch = master AND tag IS present AND repo = tomochain/tomochain
notifications:
slack: