forked from jasmine/jasmine-gem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (29 loc) · 795 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
language: ruby
sudo: false
cache: bundler
addons:
chrome: stable
rvm:
- "2.3"
- "2.5"
- "2.6"
env:
- "RAILS_VERSION=rails6"
- "RAILS_VERSION=rails5"
- "RAILS_VERSION=rails4"
- "RAILS_VERSION=pojs"
script: "if [ $PERFORMANCE_SPECS ];then bundle exec rake performance_specs --trace; else bundle exec rake --trace; fi"
jobs:
fast_finish: true
include:
- env:
- "PERFORMANCE_SPECS=true"
- "RAILS_VERSION=rails5"
exclude:
- rvm: "2.3"
env: "RAILS_VERSION=rails6"
before_install:
- "if [$RAILS_VERSION != rails4 ];then gem update --system; fi"
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- "if [ $RAILS_VERSION = rails4 ];then gem install bundler -v '< 2.0' ; else gem install bundler; fi"
- bundle --version