forked from mileszs/wicked_pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 929 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
language:
- ruby
bundler_args: --verbose
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
gemfile:
- gemfiles/3.0.gemfile
- gemfiles/3.1.gemfile
- gemfiles/3.2.gemfile
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 dummy_generate
- bundle exec rake test
matrix:
include:
- rvm: 1.8.7
before_install:
- gem update --system 1.8.25
- gem --version
gemfile: gemfiles/2.3.gemfile
- rvm: 1.9.3
gemfile: gemfiles/4.0.gemfile
- rvm: 1.9.3
gemfile: gemfiles/rails_edge.gemfile
- rvm: 2.0.0
gemfile: gemfiles/4.0.gemfile
- rvm: 2.0.0
gemfile: gemfiles/rails_edge.gemfile
allow_failures:
- rvm: 1.9.3
gemfile: gemfiles/rails_edge.gemfile
- rvm: 2.0.0
gemfile: gemfiles/rails_edge.gemfile