Skip to content

Commit f1dd180

Browse files
Update .travis.yml
1 parent 22b9665 commit f1dd180

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ env:
2323

2424
# execute any number of scripts before the test run, custom env's are available as variables
2525
before_script:
26-
- sh -c 'if [[ "$DB" == "pgsql" ]]; then psql -c "DROP DATABASE IF EXISTS hello_world_test;" -U postgres; fi'
27-
- sh -c 'if [[ "$DB" == "pgsql" ]]; then psql -c "create database hello_world_test;" -U postgres; fi'
28-
- sh -c 'if [[ "$DB" == "mysql" ]]; then mysql -e "create database IF NOT EXISTS hello_world_test;" -uroot; fi'
26+
- if [[ "$DB" == "pgsql" ]]; then psql -c "DROP DATABASE IF EXISTS hello_world_test;" -U postgres; fi
27+
- if [[ "$DB" == "pgsql" ]]; then psql -c "create database hello_world_test;" -U postgres; fi
28+
- if [[ "$DB" == "mysql" ]]; then mysql -e "create database IF NOT EXISTS hello_world_test;" -uroot; fi
2929

3030
# omitting "script:" will default to phpunit
3131
# use the $DB env variable to determine the phpunit.xml to use

0 commit comments

Comments
 (0)