forked from redis-store/redis-store
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (43 loc) · 1.14 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
language: ruby
sudo: false
cache: bundler
notifications:
webhooks: https://www.travisbuddy.com
on_success: never
before_install:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
> ./cc-test-reporter
- chmod +x ./cc-test-reporter
rvm:
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- ruby-head
- jruby-head
gemfile:
- gemfiles/redis_4_x.gemfile
before_script: "./cc-test-reporter before-build"
after_script:
- "./cc-test-reporter after-build --exit-code $EXIT_CODE"
- "./cc-test-reporter format-coverage -t simplecov -o coverage/codeclimate.json"
- if [[ "$TRAVIS_TEST_RESULT" == 0 ]]; then ./cc-test-reporter upload-coverage; fi
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
exclude:
- rvm: 2.1
gemfile: gemfiles/redis_4_x.gemfile
- rvm: 2.2
gemfile: gemfiles/redis_4_x.gemfile
deploy:
provider: rubygems
api_key:
secure: vhwP2VNfVYgppPNis7asqMnWuIcURr2e99uhYeHS4Sc+hIozu2QzAAekDrVpEDpeaEubtmTi19UcV4dZbDrQ0M+buE8LJEpItz73yK++J75Rzyh/bsGnWTy2FIvedLrH+jBNf28I9p8XNWkQxVaTc/r/v6BX3mmyV/jVoTBz9es=
gem: redis-store
on:
tags: true
repo: redis-store/redis-store