first commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
language: php
|
||||
before_script:
|
||||
# Setup Coveralls and httpbin-php
|
||||
- phpenv local 5.5
|
||||
- composer install --dev --no-interaction
|
||||
|
||||
- TESTPHPBIN=$(phpenv which php)
|
||||
- sudo PHPBIN=$TESTPHPBIN vendor/bin/start.sh
|
||||
- export REQUESTS_TEST_HOST_HTTP=localhost
|
||||
- phpenv local --unset
|
||||
|
||||
# Work out of the tests directory
|
||||
- cd tests
|
||||
script:
|
||||
- phpunit --coverage-clover clover.xml
|
||||
after_script:
|
||||
- cd ..
|
||||
- phpenv local 5.5
|
||||
- sudo PATH=$PATH vendor/bin/stop.sh
|
||||
- php vendor/bin/coveralls -v
|
||||
- phpenv local --unset
|
||||
php:
|
||||
- 5.2
|
||||
- 5.3
|
||||
- 5.4
|
||||
- 5.5
|
||||
- hhvm
|
||||
Reference in New Issue
Block a user