Skip to content

Commit

Permalink
a try to complete the travis testing setup
Browse files Browse the repository at this point in the history
to be able to write real tests
  • Loading branch information
peterdd committed Oct 27, 2015
1 parent ec7bcfa commit 931b000
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ install:

# execute any number of scripts before the test run, custom env's are available as variables
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install
- if [[ "$DB" == "pgsql" ]]; then psql -c "DROP DATABASE IF EXISTS flyspray_test;" -U postgres; fi
- if [[ "$DB" == "pgsql" ]]; then psql -c "CREATE DATABASE flyspray_test;" -U postgres; fi
- if [[ "$DB" == "mysql" ]]; then mysql -e "CREATE DATABASE IF NOT EXISTS flyspray_test;" -uroot; fi
Expand Down

0 comments on commit 931b000

Please sign in to comment.