forked from iobroker-community-adapters/ioBroker.radar2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 787 Bytes
/
.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
os:
- linux
- windows
language: node_js
node_js:
- '8'
- '10'
- '12'
before_script:
- export NPMVERSION=$(echo "$($(which npm) -v)"|cut -c1)
- 'if [[ $NPMVERSION == 5 ]]; then npm install -g npm@5; fi'
- npm -v
- npm install [email protected]
- 'npm install https://github.com/ioBroker/ioBroker.js-controller/tarball/master --production'
- 'if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo setcap ''cap_net_admin,cap_net_raw,cap_net_bind_service=+eip'' $(eval readlink -f `which node`); echo set caps; fi'
env:
- CXX=g++-6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libcap2-bin
- g++-6
- libusb-1.0-0.dev
- libudev-dev
- arp-scan
- bluetooth
- bluez
- libbluetooth-dev
- libudev-dev