Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to new Travis infrastructure #177

Merged
merged 3 commits into from
Oct 6, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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