Another try with mysql
This commit is contained in:
parent
8e6619bda5
commit
f141805627
14
.travis.yml
14
.travis.yml
@ -5,14 +5,14 @@ phps:
|
|||||||
- 5.3
|
- 5.3
|
||||||
- 5.4
|
- 5.4
|
||||||
|
|
||||||
env:
|
#env:
|
||||||
- DB=mysql
|
# - DB=mysql
|
||||||
- DB=pgsql
|
# - DB=pgsql
|
||||||
- DB=sqlite
|
# - DB=sqlite
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS test;' -U postgres; fi"
|
- sh -c "psql -c 'DROP DATABASE IF EXISTS test;' -U postgres"
|
||||||
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database test;' -U postgres; fi"
|
- sh -c "psql -c 'create database test;' -U postgres"
|
||||||
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS test;'; fi"
|
- sh -c "mysql -e 'create database IF NOT EXISTS test;'"
|
||||||
|
|
||||||
script: php ./tests/index.php
|
script: php ./tests/index.php
|
Loading…
Reference in New Issue
Block a user