-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy path.travis.yml
More file actions
37 lines (37 loc) · 1.37 KB
/
.travis.yml
File metadata and controls
37 lines (37 loc) · 1.37 KB
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
env:
global:
- CC_TEST_REPORTER_ID=$CC_TEST_REPORTER_ID
language: ruby
rvm:
- 3.0
- 2.7
- 2.6
- 2.5
- 2.4
- jruby-9.2
before_script:
- make install
- 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:
- make test
after_script:
- "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
deploy:
provider: rubygems
api_key: "$RUBYGEMS_API_KEY"
gem: ruby_http_client
on:
tags: true
rvm: '2.4'
skip_cleanup: true
notifications:
slack:
if: branch = main
on_pull_requests: false
on_success: never
on_failure: change
rooms:
secure: OMWyUuj4Fu3n39qPhlNJlVoxhHYwS/xEC3sTtCztp1cc6eIfifletIwABRtGwoJw5ZyZ8tk3EZZjYu8iMVCyZzqAXK7e8OS1j8TW7gTs55j8BbZzgH00PMLa2/jQ/KJpF/0BqWsuexnApeJbuZVkIkOln6IzEFTUp8GKfoA3jXA4fxnfpE/hXQvLL/zw5a/qhv4Z1gl+aTN+LGW4M8dFvgTpEP993c7MCdXH+FcYhZKeDlQVtoEFc1NvcanjQmjZ6to99jAQM1VXBVqGrSowf7V525TNJy9MJ/txh1Y3scJI/eBtLIx+OTjGrL0AGvM+y7wq8U8WG8ssf83KogLTpvAOQXtWPZMO50q/n4D9a8eiIy5sZMAg+CafOovlyRqCS6tvYfmmSnOy+a9TyrQ1EGR7dT0dFpsYxEIkudcnxsWZ7sdboGrCdR92aotxp5+QLeDoOA3yeLiySqORUgG+JJ0xawftJnPnOC5qNzzLhQAf8bD31C1OnVqdE2DeKlzaCrTp4LBIVX5NNT707L62U6DZQCEOv1G/752n3NRUY9Trw+L+j8bq3vnPC2ER5hN9df0J3zvUfw/GXQd20OXRbv+nTU82uYNbpmevswyb/1H42NW/w82f3yOcic+lzF5XXLb8ZHbjn/sAt//7q7rDy2o20htzcK3we29LMIpf4pA=