1
0
Fork 0
mirror of https://github.com/activerecord-hackery/ransack.git synced 2022-11-09 13:47:45 -05:00

Merge pull request #1061 from deivid-rodriguez/improve_ci

Improve CI setup
This commit is contained in:
Greg Molnar 2019-08-19 15:39:51 +02:00 committed by GitHub
commit ef067a4dca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,5 @@
language: ruby
sudo: false
rvm:
- 2.6.3
@ -39,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: