Enhance travis configuration

pull/151/head
johnniang 2019-05-10 15:49:55 +08:00
parent f9be43731d
commit b25c9624ad
1 changed files with 2 additions and 2 deletions

View File

@ -24,9 +24,9 @@ stages:
- test - test
- build - build
- name: build-docker-image-for-release - name: build-docker-image-for-release
if: tag IS present if: branch = master AND tag IS present
- name: build-docker-image-for-dev - name: build-docker-image-for-dev
if: branch = dev if: branch = dev AND tag IS present
branches: branches:
only: only:
- master - master