blob: 19932b4e725f2707132582a3572af53feb973766 (
plain)
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
|
env:
global:
- "JRUBY_OPTS=-Xcext.enabled=true"
- "CC_TEST_REPORTER_ID=faa393209ff0a104cf37511a9a03510bcee37951971b1ca4ffc2af217851d47e"
language: ruby
rvm:
- 1.8.7
- ree
- 1.9.3
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- ruby-head
- jruby
matrix:
allow_failures:
- rvm: 1.8.7
- rvm: ruby-head
- rvm: jruby
branches:
only:
- master
before_script:
- if (ruby -e "exit RUBY_VERSION.to_f >= 2.3"); then export RUBYOPT="--enable-frozen-string-literal"; fi; echo $RUBYOPT
- 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
script: "rake test" # test:scanners"
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
sudo: false
|