forked from TwilioDevEd/api-snippets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (47 loc) · 1.88 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
44
45
46
47
48
49
50
51
52
53
54
55
56
sudo: required
rvm:
- 2.2.1
before_install:
- ./install_travis_dependencies.sh
install:
- gem install json colorize parallel
- git clone https://github.com/TwilioDevEd/twilio-api-faker.git
- sudo cp twilio-api-faker/keystore/twilio_fake.pem /usr/local/share/ca-certificates/twilio_fake.crt
- sudo update-ca-certificates
script:
- ./run_twilio_api_faker.sh
- ruby tools/snippet-testing/snippet_tester.rb -i
env:
global:
- NODE_PATH=/usr/local/lib/node_modules
- NODE_TLS_REJECT_UNAUTHORIZED=0
- FAKE_CERT_PATH=~/build/TwilioDevEd/api-snippets/twilio-api-faker/keystore/twilio_fake.pem
- GRADLE_OPTS="-Dorg.gradle.daemon=true"
- BASH=/bin/bash
- BASH_SOURCE=/usr/local/bin/virtualenvwrapper.sh
- PARALLEL=2
matrix:
- SNIPPET_LANGUAGE=java6
- SNIPPET_LANGUAGE=java7
- SNIPPET_LANGUAGE=python:curl
- SNIPPET_LANGUAGE=php:ruby
matrix:
include:
- language: csharp
mono: latest
env: SNIPPET_LANGUAGE=csharp:node
addons:
hosts:
- api.twilio.com
- taskrouter.twilio.com
- pricing.twilio.com
- lookups.twilio.com
notifications:
slack:
rooms:
secure: Lbt/FIOBmBxqSH4aj4cctd+ygAWWN+IoEGRC1f7Wn1mgciSAWCGs6krUAqsxDCO+mU0bV0EdO2SNaB5vlmMCBA0tti6KYzR4M4OgkM/KwIUk1MBJcaD2gpMMbMK66xG74b5arPuO7GIWMjHgScKo04LGGeYOcw7RJZwB6CY+3eyFo4HLVkuWizNC2Qw2yq/2F///QywljWMbvJy1dUs0Ax3KG6NW8aRhj98TN/vnVAwC7BKCWYD0QQY+8qKf4Cbmt6W4riNufqm8ZQdLdgbRnLdKKxHUCEkARPzLvJhLrR4fB70hXI8iWcms0CcLPf2kjG8+iJso9MCai1SGdi4+duAoBUxHzCQTK2Q+8t7LKrfaOm9j0p46tk9VcI9GLUzVgE5XZpqssv+dqvf1tB/d+XTZu2M4I1fmZm0O7uo3XSWO25Vob6sqHKoRe1E0Ums4yCv5ZiMWuzvFan4CPIoC2Gxn1ZFWPU+//SDHolKIAG5j6bx9v+66UOv7EkBQVlW9CbZmK+12mRL0+gNxfWmFW23tgJhnuEYmJHqEGi3GWjzBY8YTQ5eiUJQXxV/NZknwAB4d/cHDEvbBlVrURqXG/E60ecKNw6QqTO8HMZXP8ROBPzKPSnwsY6TDPf1rrH3D9N4o9JyEhquuWG4NSovOcrzopgoNyfaEWbj0cLwxxs8=
on_failure: always
on_success: change
cache:
apt: true
pip: true