Exclude v1 branches from Travis

Instead of allowing only v2.
Branches which didn't target v2 BUT related to v2 weren't tested on Travis
This commit is contained in:
Jeremy Benoist 2016-02-24 13:47:54 +01:00
parent 7447461352
commit fd3fd481a6

View file

@ -34,9 +34,11 @@ matrix:
allow_failures:
- php: hhvm
# exclude v1 branches
branches:
only:
- v2
except:
- master
- dev
before_script:
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi;