-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·80 lines (80 loc) · 2.21 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
70
71
72
73
74
75
76
77
78
79
80
language:
- ruby
git:
depth: 1
quiet: true
before_install:
- sudo apt-get update -qq
bundler_args: --verbose
sudo: required
before_script:
- bundle list
- sudo apt-get install -y wkhtmltopdf
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
env: WKHTMLTOPDF_BIN=/usr/bin/wkhtmltopdf
script:
- bundle exec rake
matrix:
include:
- rvm: 1.8.7
before_install:
- sudo apt-get update -qq
- gem update --system 1.8.25
- gem --version
gemfile: gemfiles/2.3.gemfile
- rvm: 1.9.2
gemfile: gemfiles/3.0.gemfile
- rvm: 1.9.3
gemfile: gemfiles/3.1.gemfile
- rvm: 2.0
gemfile: gemfiles/3.2.gemfile
- rvm: 2.0
gemfile: gemfiles/4.0.gemfile
- rvm: 2.1
gemfile: gemfiles/4.1.gemfile
- rvm: 2.2
gemfile: gemfiles/4.2.gemfile
- rvm: 2.3
gemfile: gemfiles/5.0.gemfile
before_install:
# https://github.com/danmayer/coverband/issues/162
- "find /home/travis/.rvm/rubies -wholename '*default/bundler-*.gemspec' -delete"
- rvm @global do gem uninstall bundler -a -x -I || true
- gem install bundler -v '< 2'
- rvm: 2.4
gemfile: gemfiles/5.1.gemfile
before_install:
- "find /home/travis/.rvm/rubies -wholename '*default/bundler-*.gemspec' -delete"
- rvm @global do gem uninstall bundler -a -x -I || true
- gem install bundler -v '< 2'
- rvm: 2.5
gemfile: gemfiles/5.2.gemfile
- rvm: 2.5
gemfile: gemfiles/rails_edge.gemfile
- rvm: 2.6
gemfile: gemfiles/5.2.gemfile
before_install:
- gem update --system
- gem install bundler
- rvm: 2.6
gemfile: gemfiles/rails_edge.gemfile
before_install:
- gem update --system
- gem install bundler
- rvm: ruby-head
gemfile: gemfiles/5.2.gemfile
before_install:
- gem install bundler -v '~> 2'
- rvm: ruby-head
gemfile: gemfiles/rails_edge.gemfile
before_install:
- gem install bundler -v '~> 2'
allow_failures:
- rvm: 2.5
gemfile: gemfiles/rails_edge.gemfile
- rvm: 2.6
gemfile: gemfiles/rails_edge.gemfile
- rvm: 2.5.3
gemfile: gemfiles/3.0.gemfile
- rvm: ruby-head