Browse Source

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

reviewable/pr3676/r6
Zetok Zalbavar 9 years ago
parent
commit
87fe968014
No known key found for this signature in database
GPG Key ID: C953D3880212068A
  1. 16
      .travis.yml

16
.travis.yml

@ -2,6 +2,12 @@ sudo: required @@ -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: @@ -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

Loading…
Cancel
Save