Skip to content

Commit

Permalink
Fix travis environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Riimu committed Oct 8, 2018
1 parent bd12cf5 commit c6bc19f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ cache:
- build/.composer-cache

env:
- PHPUNIT_MYSQL_HOSTNAME="127.0.0.1"
- PHPUNIT_MYSQL_DATABASE="travis_test"
- PHPUNIT_MYSQL_USERNAME="travis"
- PHPUNIT_MYSQL_PASSWORD=""
global:
- PHPUNIT_MYSQL_HOSTNAME="127.0.0.1"
- PHPUNIT_MYSQL_DATABASE="travis_test"
- PHPUNIT_MYSQL_USERNAME="travis"
- PHPUNIT_MYSQL_PASSWORD=""

before_install:
- mysql -e "CREATE DATABASE `travis_test`;"
- mysql -e "CREATE DATABASE travis_test;"
- export COMPOSER_CACHE_DIR="$(pwd)/build/.composer-cache"
- export XDEBUG="/home/travis/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini"
- mv -v "$XDEBUG" "$XDEBUG.disabled"
Expand Down

0 comments on commit c6bc19f

Please sign in to comment.