forked from ruby-grape/grape-swagger-rails
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
49 lines (44 loc) · 1.02 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
sudo: false
addons:
firefox: "latest"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- wget https://github.com/mozilla/geckodriver/releases/download/v0.16.1/geckodriver-v0.16.1-linux64.tar.gz
- mkdir geckodriver
- tar -xzf geckodriver-v0.16.1-linux64.tar.gz -C geckodriver
- export PATH=$PATH:$PWD/geckodriver
- gem install bundler
language: ruby
cache: bundler
matrix:
include:
- rvm: 2.3.1
script:
- bundle exec danger
- rvm: 2.3.1
env:
- GRAPE_SWAGGER_VERSION=0.8.0
- rvm: 2.3.1
env:
- GRAPE_SWAGGER_VERSION=0.9.0
- rvm: 2.3.1
env:
- GRAPE_SWAGGER_VERSION=0.11.0
- rvm: 2.3.1
env:
- GRAPE_SWAGGER_VERSION=0.20.2
- rvm: 2.3.1
env:
- GRAPE_SWAGGER_VERSION=HEAD
- rvm: 2.3.0
- rvm: 2.2.5
- rvm: 2.0.0
- rvm: rbx-2
- rvm: ruby-head
- rvm: jruby-head
allow_failures:
- env: GRAPE_SWAGGER_VERSION=HEAD
- rvm: ruby-head
- rvm: jruby-head
- rvm: rbx-2