forked from WebThingsIO/gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (37 loc) · 897 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: node_js
node_js:
- 8
- 10
sudo: required
env:
global:
- CC=gcc-4.9
- CXX=g++-4.9
- MOZIOT_HOME=/home/travis/.mozilla-iot/test
- NODE_TLS_REJECT_UNAUTHORIZED=0
addons:
firefox: latest
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
- libudev-dev
before_install:
- pyenv global system 3.6
install:
- git clone https://github.com/mozilla-iot/intent-parser
- pip3.6 install --user -e git+https://github.com/mycroftai/adapt#egg=adapt-parser
- python3.6 intent-parser/intent-parser-server.py &
before_script:
- pyenv global system 2.7
script:
- npm install
- ./node_modules/.bin/webpack
- npm run lint
- ./tools/make-self-signed-cert.sh
- ./node_modules/.bin/jest --runInBand --coverage --detectOpenHandles
- npm run dependencies-check
after_script:
- ./node_modules/.bin/codecov