File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 66 - 5.5
77 - 5.6
88 - 7.0
9+ # - 7.0 # Mac OS X test setup, see below
910 - 7.1
1011 - nightly # ignore errors, see below
1112 - hhvm # ignore errors, see below
@@ -17,11 +18,29 @@ matrix:
1718 include :
1819 - php : 5.3
1920 dist : precise
21+ include :
22+ - os : osx
23+ language : generic
24+ php : 7.0 # just to look right on travis
25+ env :
26+ - PACKAGE : php70
2027 allow_failures :
2128 - php : nightly
2229 - php : hhvm
2330
2431install :
32+ # OSX install inspired by https://github.com/kiler129/TravisCI-OSX-PHP
33+ - |
34+ if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
35+ brew tap homebrew/homebrew-php
36+ echo "Installing PHP ..."
37+ brew install "${PACKAGE}"
38+ brew install "${PACKAGE}"-xdebug
39+ brew link "${PACKAGE}"
40+ echo "Installing composer ..."
41+ curl -s http://getcomposer.org/installer | php
42+ mv composer.phar /usr/local/bin/composer
43+ fi
2544 - composer install --no-interaction
2645
2746script :
You can’t perform that action at this time.
0 commit comments