forked from rails-on-services/apartment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (43 loc) · 858 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
45
46
47
48
49
os: linux
language: ruby
services:
- docker
rvm:
- jruby-9.2.11.0
- 2.4.10
- 2.5.8
- 2.6.6
- 2.7.1
- jruby-head
- ruby-head
branches:
only:
- master
- development
gemfile:
- gemfiles/rails_5_0.gemfile
- gemfiles/rails_5_1.gemfile
- gemfiles/rails_5_2.gemfile
- gemfiles/rails_6_0.gemfile
- gemfiles/rails_master.gemfile
bundler_args: --without local
before_install:
- sudo /etc/init.d/mysql stop
- sudo /etc/init.d/postgresql stop
- docker-compose up -d
env:
RUBY_GC_MALLOC_LIMIT: 90000000
RUBY_GC_HEAP_FREE_SLOTS: 200000
jobs:
include:
- name: Rubocop Lint
script: gem install rubocop
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- gemfile: gemfiles/rails_master.gemfile
exclude:
- rvm: 2.4.10
gemfile: gemfiles/rails_6_0.gemfile
fast_finish: true
cache: bundler