Skip to content
Newer
Older
100644 23 lines (18 sloc) 928 Bytes
a0ba0af @beberlei Merge travis support done by @pborreli
beberlei authored Nov 13, 2011
1 language: php
2
3 php:
4 - 5.3
5 - 5.4
6 env:
7 - DB=mysql
8 - DB=pgsql
9 - DB=sqlite
a61a0e3 @kimhemsoe [mysql] Added mysqli driver to travis tests.
kimhemsoe authored Apr 8, 2012
10 - DB=mysqli
a0ba0af @beberlei Merge travis support done by @pborreli
beberlei authored Nov 13, 2011
11
12 before_script:
13 - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS doctrine_tests;' -U postgres; fi"
14 - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS doctrine_tests_tmp;' -U postgres; fi"
15 - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database doctrine_tests;' -U postgres; fi"
16 - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database doctrine_tests_tmp;' -U postgres; fi"
17 - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS doctrine_tests_tmp;create database IF NOT EXISTS doctrine_tests;'; fi"
a61a0e3 @kimhemsoe [mysql] Added mysqli driver to travis tests.
kimhemsoe authored Apr 7, 2012
18 - sh -c "if [ '$DB' = 'mysqli' ]; then mysql -e 'create database IF NOT EXISTS doctrine_tests_tmp;create database IF NOT EXISTS doctrine_tests;'; fi"
a0ba0af @beberlei Merge travis support done by @pborreli
beberlei authored Nov 13, 2011
19 - git submodule update --init
20
21 script: phpunit --configuration tests/travis/$DB.travis.xml
22
Something went wrong with that request. Please try again.