-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (46 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
49
50
51
52
53
54
55
language: ruby
env:
global:
- LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8
before_install:
- gem install bundler
- bundle install --without=documentation
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
jobs:
include:
- &test
stage: test
name: RVM 2.0
rvm:: 2.0
before_script:
- ./cc-test-reporter before-build
script:
- bundle exec rake spec
- bundle exec danger
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
- <<: *test
name: RVM 2.3.1
rvm:: 2.3.1
- <<: *test
name: RVM 2.5.1
rvm:: 2.5.1
- <<: *test
name: RVM 2.6.0
rvm:: 2.6.0
stages:
- test
branches:
only:
- master
- develop
except:
- "/^[^\\/]+\\/\\d+(?:\\.\\d+)+\\/\\d+$/"
cache:
bundler: true
pip: true
directories:
- $HOME/vendor/bundle/
- $HOME/.rvm/
- $HOME/Library/Caches/Homebrew