Update .travis.yaml (#151)

* Update travis.yaml

* Update travis.yaml

* Update travis.yaml

* Update travis.yaml

* Update travis.yaml
pull/152/head v1.0.0-beta.2
John Niang 2019-05-10 18:26:36 +08:00 committed by GitHub
parent 0ce5247c9e
commit 4c339ab7d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -24,9 +24,14 @@ stages:
- test - test
- build - build
- name: build-docker-image-for-release - name: build-docker-image-for-release
if: branch = master AND tag IS present if: tag =~ /^v\d+\.\d+(\.\d+)?(-release)?$/
- name: build-docker-image-for-dev - name: build-docker-image-for-dev
if: branch = dev AND tag IS present if: tag =~ /^v\d+\.\d+(\.\d+)?-(beta|alpha)+(\.\d+)?$/
branches:
only:
- master
- dev
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
notifications: notifications:
webhooks: webhooks:
- https://fathomless-fjord-24024.herokuapp.com/notify - https://fathomless-fjord-24024.herokuapp.com/notify