Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Finally we are done with travis :)

  • Loading branch information...
commit d94b6e97b24ea365d246e1adf0b2afb3348bb487 1 parent e78632d
@harikt harikt authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 .travis.yml
View
7 .travis.yml
@@ -6,8 +6,9 @@ env:
php:
- 5.4
before_script:
- - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS test;' -U postgres; fi"
- - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database test;' -U postgres; fi"
- - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS test;'; fi"
+ - "mysql -e 'DROP DATABASE IF EXISTS test;'"
+ - "mysql -e 'create database test;'"
+ - "psql -c 'DROP DATABASE IF EXISTS test;' -U postgres"
+ - "psql -c 'create database test;' -U postgres"
- cd tests
script: phpunit
Please sign in to comment.
Something went wrong with that request. Please try again.