1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(travis): build tags; also improve formatting a bit

This commit is contained in:
Zetok Zalbavar 2016-11-13 22:34:30 +00:00
parent 2a88e5c069
commit 87fe968014
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

@ -2,6 +2,12 @@ sudo: required
dist: trusty
language: cpp
# regex is for release tags
branches:
only:
- master
- /^v(\d+\.){2}\d+$/
matrix:
fast_finish: true
include:
@ -29,8 +35,8 @@ deploy:
skip_cleanup: true
after_success:
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && test $JOB == "build-docs" && bash ./.travis/deploy-docs.sh
branches:
only:
- master
->
test $TRAVIS_PULL_REQUEST == "false"
&& test $TRAVIS_BRANCH == "master"
&& test $JOB == "build-docs"
&& bash ./.travis/deploy-docs.sh