forked from stripe-ruby-mock/stripe-ruby-mock
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
25 lines (23 loc) · 893 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
sudo: required
language: ruby
rvm:
- 2.4.6
- 2.5.5
- 2.6.3
- 2.7.0
before_install:
- gem install bundler -v '< 2'
before_script:
- "sudo touch /var/log/stripe-mock-server.log"
- "sudo chown travis /var/log/stripe-mock-server.log"
script: "bundle exec rspec && bundle exec rspec -t live"
env:
global:
- IS_TRAVIS=true STRIPE_TEST_SECRET_KEY_A=sk_test_BsztzqQjzd7lqkgo1LjEG5DF00KzH7tWKF STRIPE_TEST_SECRET_KEY_B=sk_test_rKCEu0x8jzg6cKPqoey8kUPQ00usQO3KYE STRIPE_TEST_SECRET_KEY_C=sk_test_qeaB7R6Ywp8sC9pzd1ZIABH700YLC7nhmZ STRIPE_TEST_SECRET_KEY_D=sk_test_r1NwHkUW7UyoozyP4aEBD6cs00CI5uDiGq
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/44a1f4718ae2efb67eac
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false