travis: For later workflow consider selective building

Only certain branches and pull requests.
This commit is contained in:
Markus Frosch 2017-08-30 09:42:09 +02:00 committed by Thomas Gelf
parent b35f08c70d
commit 3ebdf3dd6c
1 changed files with 8 additions and 0 deletions

View File

@ -25,6 +25,14 @@ env:
- DB=pgsql DIRECTOR_TESTDB_RES="Director PostgreSQL TestDB" DIRECTOR_TESTDB="director_test"
DIRECTOR_TESTDB_USER="director_test"
# Consider when migrating to PRs
#branches:
# only:
# - master
# - next
# - /^support\//
# - /^v\d/
before_script:
- ./test/setup_vendor.sh
- ./test/travis-prepare.sh