Skip to content

Commit

Permalink
Does this work on Travis?
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jul 1, 2016
1 parent 5bbcceb commit fed7c42
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Expand Up @@ -34,7 +34,12 @@ addons:
before_install:
- mysql -e "create database IF NOT EXISTS test;" -uroot
before_script:
- if [ "$TRAVIS_PHP_VERSION" == "7.0" ] || [ $(echo "$TRAVIS_PHP_VERSION 7.0" | tr " " "\n" | sort -V | head -n1) = "7.0" ]; then phpenv config-add .travis.php7.ini; else phpenv config-add .travis.ini; fi
- if [ "$TRAVIS_PHP_VERSION" == "7.0" ] || [ $(echo "$TRAVIS_PHP_VERSION 7.0" | tr " " "\n" | sort -V | head -n1) = "7.0" ]
then
phpenv config-add .travis.php7.ini
else
phpenv config-add .travis.ini
fi
- yes no | pecl install channel://pecl.php.net/lzf
- pecl install channel://pecl.php.net/pecl_http
- pecl install channel://pecl.php.net/igbinary channel://pecl.php.net/msgpack
Expand Down

0 comments on commit fed7c42

Please sign in to comment.