forked from presidentbeef/brakeman
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
36 lines (31 loc) · 790 Bytes
/
Copy path.travis.yml
File metadata and controls
36 lines (31 loc) · 790 Bytes
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
before_install:
- gem update bundler
before_script:
- |
bash -c "
if [ ! -z "$CC_TEST_REPORTER_ID" ]; then
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter && \
chmod +x ./cc-test-reporter && \
./cc-test-reporter before-build
fi
"
script:
- "bundle exec ruby test/test.rb"
after_script:
- |
bash -c "
if [ ! -z "$CC_TEST_REPORTER_ID" ]; then
./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
fi
"
matrix:
include:
- rvm: "1.9.3"
- rvm: "2.2.7"
- rvm: "2.3.4"
- rvm: "2.4.1"
env: CC_TEST_REPORTER_ID=521d341f3320acda1902d0db0a3a92fb16b11ebfe3d5ab730218d4fc0fb3db13
branches:
only:
- master
sudo: false