-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
27 lines (27 loc) · 854 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
env:
global:
- SIMPLECOV_ENABLED=1
- JRUBY_OPTS=--dev
- CC_TEST_REPORTER_ID=b7cacaaf8cd892926f18b6a494de52ade74bfc7f68befcba99b5adaa3823b662
- GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
language: ruby
dist: trusty
sudo: false
before_install:
- gem update --system
- gem install bundler
before_script:
- 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:
- bundle exec rake
after_script:
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
rvm:
- 2.4.1
- 2.3.4
- 2.2.7
- ruby-head
- jruby-9.1.12.0
- jruby-head