Skip to content

Commit c6bc19f

Browse files
committed
Fix travis environment
1 parent bd12cf5 commit c6bc19f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.travis.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ cache:
99
- build/.composer-cache
1010

1111
env:
12-
- PHPUNIT_MYSQL_HOSTNAME="127.0.0.1"
13-
- PHPUNIT_MYSQL_DATABASE="travis_test"
14-
- PHPUNIT_MYSQL_USERNAME="travis"
15-
- PHPUNIT_MYSQL_PASSWORD=""
12+
global:
13+
- PHPUNIT_MYSQL_HOSTNAME="127.0.0.1"
14+
- PHPUNIT_MYSQL_DATABASE="travis_test"
15+
- PHPUNIT_MYSQL_USERNAME="travis"
16+
- PHPUNIT_MYSQL_PASSWORD=""
1617

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

0 commit comments

Comments
 (0)