forked from crossbario/autobahn-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (39 loc) · 1.37 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
language: node_js
node_js:
- "10"
dist: xenial
sudo: true
services:
- docker
addons:
apt:
update: true
packages:
- python3-pip
before_install:
- sudo pip3 install --no-cache-dir -U scons boto taschenmesser
- rm -rf node_modules/websocket
before_script:
- docker run -d -v $PWD/.crossbar:/node -p 8080:8080 -p 8090:8090 -u $UID crossbario/crossbar --cbdir /node
- sleep 5
script:
- npm install -g nodeunit
- cd packages/autobahn && npm install && npm test
# CI notifications
notifications:
# IRC: chat messages on #crossbar-ci @ freenode
irc:
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: always # options: [always|never|change] default: always
channels:
- "irc.freenode.org#crossbar-ci"
use_notice: false
skip_join: false
slack:
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: always # options: [always|never|change] default: always
rooms:
# travis encrypt --org --repo crossbario/autobahn-js "crossbario:FYg..."
- secure: "J5IKtd+BlVHWVDrtoCGpesVE7nASw1yg/DcKDtd/dVoj6dJimXoYXFPdJTjBvsDg54Zd41KMshe5fSRlEOkg9r0333OxtXySK/v66ncI6ipnSo2eM5kuOJ6E2Kg3A8AdhcV3IxG3awbHYxgtQVcCpOGIZ2bkaHNqxj2smiNAKK0="