forked from Dynamoid/dynamoid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (35 loc) · 907 Bytes
/
.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
sudo: required
language: ruby
rvm:
- ruby-2.3.8
- ruby-2.4.6
- ruby-2.5.5
- ruby-2.6.3
- jruby-9.2.8.0
gemfile:
- gemfiles/rails_4_2.gemfile
- gemfiles/rails_5_0.gemfile
- gemfiles/rails_5_1.gemfile
- gemfiles/rails_5_2.gemfile
matrix:
include:
- rvm: ruby-2.6.3
gemfile: gemfiles/rails_6_0.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.16.2
- bundle install
before_script:
# Start Docker Compose as a daemon
- docker-compose up -d
script:
- bundle exec rake spec
after_script:
- docker-compose down