-
Notifications
You must be signed in to change notification settings - Fork 19
/
.travis.yml
36 lines (36 loc) · 989 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
36
language: ruby
rvm:
- 2.2.2
- 2.3
- 2.4
- 2.5
- ruby-head
bundler_args: "--jobs=2"
cache: bundler
before_install:
- gem install bundler --no-document
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 rspec
- bundle exec ruby examples/all.rb
- bundle exec rubocop
- bundle exec rubydoctest README.md
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
branches:
only:
- master
notifications:
email: false
slack:
secure: M8VEihBaynGJdlXu7TvhgqIDfpHvSP5H0RCLsvtaQ5rNoz6yrOTRcLBCWazrJopD1CvKbcFTVVLlS86fxyW9+pYhYc81mXlhtyPLNx7yXQ+Uhfrxp7/e2QLEMZEgbk2Z7XglN4rJ+t4QhWjsPL0ohJk+t1DSdFtEPK3o3RyoRrE=
matrix:
allow_failures:
- rvm: ruby-head
sudo: false
env:
global:
- CC_TEST_REPORTER_ID=8e9db6ee5f3818e87287a6393086c2ccb9b1b83106c5bfb972211abefd2fe162