This repository has been archived by the owner on Aug 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 469
/
.travis.yml
76 lines (66 loc) · 2.42 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
dist: trusty
sudo: required
rvm:
- 2.2.1
before_install:
- ./install_travis_dependencies.sh
install:
- gem install json colorize nokogiri rubocop
- 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
matrix:
include:
- env: SNIPPET_LANGUAGE=python:curl
dist: precise
- env: SNIPPET_LANGUAGE=java6
jdk: oraclejdk7
- env: SNIPPET_LANGUAGE=java7
jdk: oraclejdk8
- language: csharp
mono: latest
env: SNIPPET_LANGUAGE=csharp:ruby
- env: SNIPPET_LANGUAGE=node:php
addons:
hosts:
- api.twilio.com
- chat.twilio.com
- fax.twilio.com
- ip-messaging.twilio.com
- lookups.twilio.com
- messaging.twilio.com
- monitor.twilio.com
- notifications.twilio.com
- notify.twilio.com
- preview.twilio.com
- pricing.twilio.com
- sync.twilio.com
- taskrouter.twilio.com
- video.twilio.com
- wireless.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
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/