forked from ClosureTree/closure_tree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (61 loc) · 1.54 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
language: ruby
rvm:
# TODO: reenable once tests pass with 4.0
- 2.0.0
- 1.9.3
# - 1.8.7 # < predictably wedges travis builds
# - jruby-19mode
# - rbx-19mode
gemfile:
# TODO: reenable once tests pass with 4.0
- ci/Gemfile.rails-4.0.x
- ci/Gemfile.rails-3.2.x
- ci/Gemfile.rails-3.1.x
- ci/Gemfile.rails-3.0.x
env:
# TODO: reenable once tests pass with 4.0
- DB=sqlite
- DB=mysql
- DB=postgresql
script: WITH_ADVISORY_LOCK_PREFIX=$TRAVIS_JOB_ID bundle exec rake --trace all_spec_flavors
before_script:
- mysql -e 'create database closure_tree_test'
- psql -c 'create database closure_tree_test' -U postgres
matrix:
exclude:
- rvm: 1.8.7
gemfile: ci/Gemfile.rails-4.0.x
env: DB=sqlite
- rvm: 1.8.7
gemfile: ci/Gemfile.rails-4.0.x
env: DB=mysql
- rvm: 1.8.7
gemfile: ci/Gemfile.rails-4.0.x
env: DB=postgresql
- rvm: 2.0.0
gemfile: ci/Gemfile.rails-3.0.x
env: DB=sqlite
- rvm: 2.0.0
gemfile: ci/Gemfile.rails-3.0.x
env: DB=mysql
- rvm: 2.0.0
gemfile: ci/Gemfile.rails-3.0.x
env: DB=postgresql
- rvm: 2.0.0
gemfile: ci/Gemfile.rails-3.1.x
env: DB=sqlite
- rvm: 2.0.0
gemfile: ci/Gemfile.rails-3.1.x
env: DB=mysql
- rvm: 2.0.0
gemfile: ci/Gemfile.rails-3.1.x
env: DB=postgresql
- rvm: 2.0.0
gemfile: ci/Gemfile.rails-3.2.x
env: DB=sqlite
- rvm: 2.0.0
gemfile: ci/Gemfile.rails-3.2.x
env: DB=mysql
- rvm: 2.0.0
gemfile: ci/Gemfile.rails-3.2.x
env: DB=postgresql