-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (25 loc) · 904 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
dist: trusty
group: deprecated-2017Q2
sudo: required
language: ruby
rvm:
- 2.4.6
- 2.5.5
- 2.6.3
before_install:
- rvm 2.1.10 do gem install mime-types -v 2.6.2
- 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
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