Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Try reactivate xdebug
  • Loading branch information
asbiin committed Mar 31, 2018
commit c84d455fbad8ce4253fa709972f93592a75f369a
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ addons:
chrome: stable

before_install:
- ls /home/travis/.phpenv/versions/$TRAVIS_PHP_VERSION
- phpenv config-rm xdebug.ini
- mkdir -p $TRAVIS_BUILD_DIR/results/coverage
- cp scripts/tests/.env.$DB.travis .env
Expand Down Expand Up @@ -71,7 +72,7 @@ script:
- phpdbg -qrr vendor/bin/phpunit -c phpunit${DB/mysql/}.xml

# Start http server
- phpenv config-add xdebug.ini
- phpenv config-add /home/travis/.phpenv/versions/$TRAVIS_PHP_VERSION/mods-available/xdebug.ini
- bash -c "if [[ \"$SELENIUM\" == \"1\" ]]; then php -S localhost:8000 -t $TRAVIS_BUILD_DIR/public $TRAVIS_BUILD_DIR/scripts/tests/server-cc.php 2>/dev/null; fi" &
- if [[ "$SELENIUM" == "1" ]]; then until $(nc -z localhost 8000); do sleep 1; echo Waiting for http server to start...; done; fi

Expand Down