We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de46199 commit 43ac885Copy full SHA for 43ac885
.travis.yml
@@ -18,8 +18,8 @@ services:
18
addons:
19
postgresql: '9.6'
20
before_script:
21
- - mysql -e 'create database ajax_datatables_rails;'
22
- - psql -c 'create database ajax_datatables_rails;' -U postgres
+ - sh -c "if [ '$DB_ADAPTER' = 'mysql2' ]; then mysql -e 'create database ajax_datatables_rails;'; fi"
+ - sh -c "if [ '$DB_ADAPTER' = 'postgresql' ]; then psql -c 'create database ajax_datatables_rails;' -U postgres; fi"
23
env:
24
matrix:
25
- DB_ADAPTER=postgresql
0 commit comments