File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ matrix :
2
+ include :
3
+ # Linux
4
+ - os : linux
5
+ language : php
6
+ php : ' 5.6'
7
+
8
+ - os : linux
9
+ language : php
10
+ php : ' 7.0'
11
+
12
+ - os : linux
13
+ language : php
14
+ php : ' 7.1'
15
+
16
+ - os : linux
17
+ language : php
18
+ php : ' nightly'
19
+
20
+ before_script :
21
+ - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then brew update ; fi; # travis image is quite old, update to have latest dependecies available
22
+ - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then brew tap homebrew/dupes ; fi;
23
+ - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then brew tap homebrew/versions ; fi;
24
+ - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then brew tap homebrew/homebrew-php ; fi;
25
+ - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then brew install ${OSX_PHP_VERSION} ; fi; # install PHP
26
+ - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then curl -sS https://getcomposer.org/installer | php ; fi; # install composer
27
+ - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then mv composer.phar /usr/local/bin/composer | php ; fi; # install composer globally
28
+ - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then export PATH="$(brew --prefix homebrew/php/${OSX_PHP_VERSION})/bin:$PATH" ; fi; # app php to path
29
+ - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then brew install coreutils ; fi; # truncate command:
30
+ - composer self-update
31
+ - composer require phpunit/phpunit:4.8.35 --prefer-dist --no-interaction --dev
32
+ - composer update
33
+
34
+ script :
35
+ - vendor/bin/phpunit -c testing/phpunit.xml
You can’t perform that action at this time.
0 commit comments