Skip to content

Commit

Permalink
Fixed database conditionals for Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ndbroadbent committed Dec 13, 2011
1 parent 249a2be commit a588d4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ gemfile: Gemfile.ci

# Create database before testing
before_script:
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database fat_free_crm_test;' -U postgres; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database fat_free_crm_test;'; fi"
- sh -c "if [ \"$DB\" = 'postgres' ]; then psql -c 'create database fat_free_crm_test;' -U postgres; fi"
- sh -c "if [ \"$DB\" = 'mysql' ]; then mysql -e 'create database fat_free_crm_test;'; fi"
# Only build master branch
branches:
only:
Expand Down

0 comments on commit a588d4d

Please sign in to comment.