-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy path.travis.yml
48 lines (47 loc) · 1.12 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
branches:
except:
- "/^wip/"
language: node_js
node_js: '12'
python: '3.8'
cache:
npm: true
directories:
- $HOME/.cache/pip
dist: bionic
env:
global:
- COVERALLS_PARALLEL=true
jobs:
include:
-
name: "Unit Tests"
before_script:
- npx make
- ./travis/start-home-assistant.sh
script:
- npm run lint
- TZ="America/Los_Angeles" npx nyc node ./test/unit main universe
after_success: npm run coverage
-
name: "Scenario Tests"
before_script:
- npx make
- ./travis/start-home-assistant.sh
script:
- TZ="America/Los_Angeles" npx nyc node ./test/scenarios -r universe builtin main universe
after_success: npm run coverage
-
name: "Dataset Generation"
before_script:
- pyenv global 3.8.1
- virtualenv --py $(pyenv which python3) ./datagen-venv
- . ./datagen-venv/bin/activate
- pip3 install --upgrade pip
- pip3 install 'genienlp==v0.7.0a3'
- export TZ="America/Los_Angeles"
- npx make
script:
- ./travis/test-dataset.sh
notifications:
webhooks: https://coveralls.io/webhook