File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ matrix:
10
10
- php : 5.6
11
11
- php : hhvm
12
12
before_script :
13
- - if [[ "$TRAVIS_PHP_VERSION" != "5.3" ]]; then sh -c "php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &"; fi
13
+ - if [[ "$TRAVIS_PHP_VERSION" == "5.4" ]]; then sh -c "php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &"; fi
14
+ - if [[ "$TRAVIS_PHP_VERSION" == "5.5" ]]; then sh -c "php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &"; fi
15
+ - if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then sh -c "php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &"; fi
16
+ - if [[ "$TRAVIS_PHP_VERSION" == "hhvm" ]]; then sh -c "cd tests && hhvm --mode server --port 8000 --config PHPCurlClass/server.hdf &"; fi
14
17
script :
15
18
- php -l src/*
16
- - if [[ "$TRAVIS_PHP_VERSION" != "5.3" ]]; then cd tests && phpunit --configuration phpunit.xml; fi
19
+ - if [[ "$TRAVIS_PHP_VERSION" != "5.3" ]]; then sh -c " cd tests && phpunit --configuration phpunit.xml" ; fi
Original file line number Diff line number Diff line change
1
+ Server {
2
+ DefaultDocument = index.php
3
+ }
You can’t perform that action at this time.
0 commit comments