forked from team-telnyx/telnyx-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml.bak
37 lines (31 loc) · 1.67 KB
/
.travis.yml.bak
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
language: node_js
node_js:
- "6"
- "8"
- "9"
- "10"
- "12"
sudo: false
cache:
directories:
- telnyx-mock
env:
global:
# If changing this number, please also look it at tests config.
- TELNYX_MOCK_VERSION=0.8.10
before_install:
# Unpack and start telnyx-mock so that the test suite can talk to it
- |
if [ ! -d "telnyx-mock/${TELNYX_MOCK_VERSION}" ]; then
mkdir -p telnyx-mock/${TELNYX_MOCK_VERSION}
curl -L "https://github.com/team-telnyx/telnyx-mock/releases/download/v${TELNYX_MOCK_VERSION}/telnyx-mock_${TELNYX_MOCK_VERSION}_linux_amd64.tar.gz" -o "telnyx-mock/${TELNYX_MOCK_VERSION}_linux_amd64.tar.gz"
tar -zxf "telnyx-mock/${TELNYX_MOCK_VERSION}_linux_amd64.tar.gz" -C "telnyx-mock/${TELNYX_MOCK_VERSION}/"
fi
- |
telnyx-mock/${TELNYX_MOCK_VERSION}/telnyx-mock > /dev/null &
TELNYX_MOCK_PID=$!
- export PATH="${PATH}:${PWD}/telnyx-mock/${TELNYX_MOCK_VERSION}"
after_success: npm run report && npm run coveralls
notifications:
slack:
secure: WHTtuszxPjFGo8nPpC/qNr5ZG3B4iWeD35i5orXa2E0SYhqEsr8O/jvfQxr4UASytgid4z3vU+qzaat5pLgmIXWapzlpmO8jWxIw+Ps3X2zInsnLve2HmB226tPS6ki5CziW2kKDXadeMIASJ3sm/fbhxgSug4fW7X7H5ziUhGHveXb1wUWPRqQXl20SNsSK1cfVwbQJr3vf/ThvnKI6AuT07ckROryIU5W0lyqdGpYBhHdrlq4rRihYySQX5gKYoBbbcltTly5ayUeHig3w1eo2NHpld3lcEgGxHLgAlL01A3af/a6IjdBxKiCghURGKwnHYUdL8U6vrH/2Sj3t9VdkgtlBurzpV42PXhtL8nTIpYQpGfQGhG8ZfXxEJA3e9lZkWUG54PXCDrLWnRBw/HrSyZoKhuWtdF8WTQuwMin+dzKRtHTbAxwPHCE+mHIk4sFu9nDi3FFHDQYnq3+XrMNk8+085KUE/bf5WToQBJ1yBO3NJKn3IDI2ifsLo02iL2tQeJ46+BN5iPnQcYdiqyto/PeCCuGtf5NuvmoeDvK0BV/lTQ0YBJWuBvd+VUO0DUrTkCC0SG8HlVjhVktqciwyCky8IosXS9TzfncooMq22gRoO/zt4fR19iTojcmZW5fu7LdadBnRHiCX7hEtaPpNMdsyj48a0VkRgM1dzHE=