Don't do unnecessary setup work
This commit is contained in:
parent
0995c9112b
commit
f399c063eb
13
.travis.yml
13
.travis.yml
|
@ -37,9 +37,16 @@ matrix:
|
|||
- env: RAILS=5-2-stable DB=mysql
|
||||
- env: RAILS=5-2-stable DB=postgres
|
||||
before_script:
|
||||
- mysql -e 'create database ransack collate utf8_general_ci;'
|
||||
- mysql -e 'use ransack;show variables like "%character%";show variables like "%collation%";'
|
||||
- psql -c 'create database ransack;' -U postgres
|
||||
- if [ "$DB" = "mysql" ];
|
||||
then
|
||||
mysql -e 'create database ransack collate utf8_general_ci;';
|
||||
mysql -e 'use ransack;show variables like "%character%";show variables like "%collation%";';
|
||||
fi
|
||||
|
||||
- if [ "$DB" = "postgres" ];
|
||||
then
|
||||
psql -c 'create database ransack;' -U postgres;
|
||||
fi
|
||||
|
||||
addons:
|
||||
code_climate:
|
||||
|
|
Loading…
Reference in New Issue