forked from Dynamoid/dynamoid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (48 loc) · 1.27 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
sudo: required
language: ruby
rvm:
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.7
- ruby-2.3.4
- ruby-2.4.1
- jruby-9.1.9.0
gemfile:
gemfile:
- gemfiles/rails_4_0.gemfile
- gemfiles/rails_4_1.gemfile
- gemfiles/rails_4_2.gemfile
- gemfiles/rails_5_0.gemfile
- gemfiles/rails_5_1.gemfile
matrix:
exclude:
- rvm: ruby-2.0.0-p648
gemfile: gemfiles/rails_5_0.gemfile
- rvm: ruby-2.0.0-p648
gemfile: gemfiles/rails_5_1.gemfile
- rvm: ruby-2.1.10
gemfile: gemfiles/rails_5_0.gemfile
- rvm: ruby-2.1.10
gemfile: gemfiles/rails_5_1.gemfile
- rvm: ruby-2.4.1
gemfile: gemfiles/rails_4_0.gemfile
- rvm: ruby-2.4.1
gemfile: gemfiles/rails_4_1.gemfile
### BUILD LIFECYCLE STEPS ###
before_install:
# Debugging: Print out the current docker-compose version.
- docker-compose --version
# If one of your containers does not build for
# whatever reason it's best to report that now before your tests start
# otherwise it can be really tricky to debug why tests are failing sometimes.
- docker ps
after_install:
- gem install bundler -v 1.15.4
- bundle install
before_script:
# Start Docker Compose as a daemon
- docker-compose up -d
script:
- bundle exec rake spec
after_script:
- docker-compose down