Skip to content

Commit

Permalink
Merge pull request #177 from rmccue/new-travis
Browse files Browse the repository at this point in the history
Switch to new Travis infrastructure
  • Loading branch information
rmccue committed Oct 6, 2015
2 parents 4e5c649 + 274eade commit 835b373
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@ matrix:
- php: 7.0
- php: hhvm

# Use new container infrastructure
sudo: false

before_script:
# Setup the test server
- 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
- PHPBIN=$TESTPHPBIN PORT=8080 vendor/bin/start.sh
- export REQUESTS_TEST_HOST_HTTP="localhost:8080"
- phpenv local --unset

# Work out of the tests directory
Expand All @@ -30,6 +33,6 @@ script:
after_script:
- cd ..
- phpenv local 5.5
- sudo PATH=$PATH vendor/bin/stop.sh
- PATH=$PATH vendor/bin/stop.sh
- test $TEST_COVERAGE && bash <(curl -s https://codecov.io/bash)
- phpenv local --unset

0 comments on commit 835b373

Please sign in to comment.