forked from braintree/braintree-web-drop-in
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (33 loc) · 4.47 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
language: node_js
before_install:
# See https://github.com/travis-ci/travis-ci/issues/5092#issuecomment-171777646
# Dirty hack for https://github.com/travis-ci/travis-ci/issues/5092
- |
PATH=`echo $PATH | sed "s/\.\/node_modules\/\.bin//g"`; export PATH=$PATH:./node_modules/.bin; touch .env; if [ $IS_INTEGRATION_TEST ]; then rvm install ruby-2.3.0 && rvm use ruby-2.3.0 && bundle install; else echo "Not an integration test. Skipping Ruby setup"; fi
script: npm run $TEST
addons:
sauce_connect: true
hosts:
- braintree-web-dropin.example
notifications:
email: false
slack:
on_success: change
on_failure: always
on_pull_requests: false
rooms:
- secure: cVafioxYjLxi6RkGvgt1iSvKyz0c6IpC3JkfXSwd63LiSzX82ZyGmeCMZpUzeLVOc/jCrcTCQL6bPcMUrgyBtibpVti9rZwi7c1FzWjTEXvVB8nO7Daa43sa5zFe3Bf61xgA+2O3mzgVxOsoTx7y/9ptNoCt5ViIFGwWIEGSOmGSR4U0CLN/sAg7tlaa6xIif7oePsZId/6lbweKhrvxCKscio4ZUw8L6HhTQgTl2Hi2jf9/kpYbQY4NpyvKNIPygX4yZAGVZQDA14qhz9HAz0np4Xj5iKQVM468LDiexkP8ZeM+gdoAjHzyrPKtKnxfWB2CCYSEb5BaP7e6M4nwchcsYJ8YZdVJXiorthqh/oYojI54AKdUgz/ii+pnOmIFG0hAHPGL8s5Vw07QoQzM93XJFSuJ4ZhUzcsx5SeATtjXps8T3IZK7/9AwRzLvMqny5i6iUw1ZaVftrihIfX41vDkZMomsOpoZzCyhKK3g/xXsTbHwAj/ZiliUeadxJp+KApaMSphyTx6Soht4MYR/aSxZ1VFreNYD7PChmlne8MqwMYQ5vdjES2BDvD6Xhp1CL3MkHnCtkxAFzziGLOmhkqGnt84CQhPAVZQOxE7kIUY+Gq7ENrNIrz7vSv6aYQ6wTEnsynjR8EIF2An0fO+evqHhXPnGJaEFV4Mcw7TMxI=
env:
matrix:
- TEST="test"
- TEST="test:publishing"
- TEST="test:integration:paypal-only" PLATFORM="desktop" IS_INTEGRATION_TEST=true
- TEST="test:integration:paypal-skipped" PLATFORM="desktop" IS_INTEGRATION_TEST=true
# iOS tests on Travis are flaky. Run these manually before merging something in
# - TEST="test:integration" PLATFORM="ios" IS_INTEGRATION_TEST=true
global:
- IS_TRAVIS=true
- secure: pfvOEN9aF5XRvDONyOvV+ljVCQdVTb/RM1yCPPyqpEBMjKXzVwR3o4Cj+DS4lM8Q7y+Ek10w9cdIN4xnm/sDMEMEwL3KrNxP7+Aw9UqFnDJkKZSnvX4jhjQ0E/zSwgMf8D1PNP+Vlr/NTEsRQrYtIbemACSmBH7Tz2L1fKi9I3nUymrHEXamcuAQYY5Q6RqsU5r8RCbxdQriBTQgHpTdZtDtHnBCfE1OV/ypVIGeWBnhDkxI/FuB91PU6KEfl576lggrcAr6ToP38pGAjySRdy6F/7sqymR0yX8XuYoYryJM3eiJOBRoJJUVIR1smmZ/TNghDbf4rjDIqNBXOd4XjGHG+t75pnN/f/dmrqXIACVVoH1Vk0ip+QQ79q3YInPcdG4bWqVli+WZPVT1m7/40Oxeg+QeP3YgJNLfWJdH4TpKLoBhYWBiWMBz8eD+ScW0znQ1FB3Ze7dWWC0hnYhQ+jH3BW9RqCiU+qMcZBFwxkQlkaOSHDkVIn9k0ysbfi+vz9aA1YMMP+2kZjFZ/te0peFDtJ/AR3bUT4vgiLkP9ZyThPsi55tS2QeEQQ98Qq0jHokTyUg91q9U0Fs4JngJzpR8JEE+FnP5fh2wLdT1cccdvWBF7lgdeBUljPVtnVC86HUyCIriUGLbAjoooH093iRM1uDWwOKDppjqnkYFkD8=
- secure: O1EDfG/cUrSuPx977tgouSi91gR4WxceDqRYtodEzBqOTvQ8dqHOx9OHcEZLeFi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