1
0
Fork 0
mirror of https://github.com/activerecord-hackery/ransack.git synced 2022-11-09 13:47:45 -05:00
activerecord-hackery--ransack/.travis.yml
2019-11-11 22:09:12 +03:00

47 lines
1,014 B
YAML

language: ruby
rvm:
- 2.6.5
services:
- mysql
env:
- RAILS=6-0-stable DB=sqlite3
- RAILS=6-0-stable DB=mysql
- RAILS=6-0-stable DB=postgres
- RAILS=v6.0.0 DB=sqlite3
- RAILS=v6.0.0 DB=mysql
- RAILS=v6.0.0 DB=postgres
- RAILS=5-2-stable DB=sqlite3
- RAILS=5-2-stable DB=mysql
- RAILS=5-2-stable DB=postgres
- RAILS=v5.2.3 DB=sqlite3
- RAILS=v5.2.3 DB=mysql
- RAILS=v5.2.3 DB=postgres
matrix:
allow_failures:
- env: RAILS=6-0-stable DB=sqlite3
- env: RAILS=6-0-stable DB=mysql
- env: RAILS=6-0-stable DB=postgres
before_script:
- 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:
repo_token: 8b701c4364d51a0217105e08c06922d600cec3d9e60d546a89e3ddfe46e0664e
postgresql: "9.6"