forked from ageweke/flex_columns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
69 lines (69 loc) · 4.03 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
rvm:
- "1.8.7"
- "1.9.3-p551"
- "2.0.0-p598"
- "2.1.5"
- "2.2.0"
- "jruby-1.7.19"
env:
- FLEX_COLUMNS_AR_TEST_VERSION=3.0.20 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
- FLEX_COLUMNS_AR_TEST_VERSION=3.0.20 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
- FLEX_COLUMNS_AR_TEST_VERSION=3.0.20 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
- FLEX_COLUMNS_AR_TEST_VERSION=3.1.12 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
- FLEX_COLUMNS_AR_TEST_VERSION=3.1.12 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
- FLEX_COLUMNS_AR_TEST_VERSION=3.1.12 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
- FLEX_COLUMNS_AR_TEST_VERSION=3.2.21 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
- FLEX_COLUMNS_AR_TEST_VERSION=3.2.21 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
- FLEX_COLUMNS_AR_TEST_VERSION=3.2.21 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
- FLEX_COLUMNS_AR_TEST_VERSION=4.0.13 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
- FLEX_COLUMNS_AR_TEST_VERSION=4.0.13 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
- FLEX_COLUMNS_AR_TEST_VERSION=4.0.13 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
- FLEX_COLUMNS_AR_TEST_VERSION=4.1.9 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
- FLEX_COLUMNS_AR_TEST_VERSION=4.1.9 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
- FLEX_COLUMNS_AR_TEST_VERSION=4.1.9 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
- FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
- FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
- FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
before_script:
- mysql -e 'create database myapp_test;'
- psql -c 'create database myapp_test;' -U postgres
matrix:
exclude:
# ActiveRecord 4.x doesn't support Ruby 1.8.7
- rvm: 1.8.7
env: FLEX_COLUMNS_AR_TEST_VERSION=4.0.13 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
- rvm: 1.8.7
env: FLEX_COLUMNS_AR_TEST_VERSION=4.0.13 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
- rvm: 1.8.7
env: FLEX_COLUMNS_AR_TEST_VERSION=4.0.13 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
- rvm: 1.8.7
env: FLEX_COLUMNS_AR_TEST_VERSION=4.1.9 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
- rvm: 1.8.7
env: FLEX_COLUMNS_AR_TEST_VERSION=4.1.9 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
- rvm: 1.8.7
env: FLEX_COLUMNS_AR_TEST_VERSION=4.1.9 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
- rvm: 1.8.7
env: FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
- rvm: 1.8.7
env: FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
- rvm: 1.8.7
env: FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
# There's a bug in ActiveRecord 3.1.x that makes it incompatible with Ruby 2.0
- rvm: 2.0.0-p598
env: FLEX_COLUMNS_AR_TEST_VERSION=3.1.12 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
- rvm: 2.0.0-p598
env: FLEX_COLUMNS_AR_TEST_VERSION=3.1.12 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
- rvm: 2.0.0-p598
env: FLEX_COLUMNS_AR_TEST_VERSION=3.1.12 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
allow_failures:
# Rails 4.2.0 has a bug with PostgreSQL and binary columns
# (https://github.com/rails/rails/pull/17680)
- env: FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
# As of this writing (2015-02-18), activerecord-jdbc doesn't support ActiveRecord 4.2.x
# completely.
- rvm: jruby-1.7.19
env: FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
- rvm: jruby-1.7.19
env: FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
- rvm: jruby-1.7.19
env: FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite