Skip to content

Commit

Permalink
Merge pull request appserver-io#1042 from Stricted/travis
Browse files Browse the repository at this point in the history
get the right pthreads version for php7+
  • Loading branch information
wagnert authored Apr 25, 2017
2 parents 037d583 + d08f67a commit 6887b22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ matrix:
- php: 7.0

before_install:
- pecl install pthreads-2.0.10
- if [[ "$TRAVIS_PHP_VERSION" < "7.0" ]]; then pecl install pthreads-2.0.10; fi
- if [[ "$TRAVIS_PHP_VERSION" = "7.0" ]] || [[ "$TRAVIS_PHP_VERSION" > "7.0" ]]; then pecl install pthreads-3.1.6; fi
- pecl install xdebug
- phpenv rehash
- wget https://scrutinizer-ci.com/ocular.phar
Expand Down

0 comments on commit 6887b22

Please sign in to comment.