forked from yodaos-project/yoda.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (35 loc) · 1.17 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
stages:
- test
language: c
os: linux
dist: bionic
cache:
npm: true
fast_finish: true
jobs:
include:
- stage: test
env:
- JOBNAME="Linux/x86-64 Correctness Tests"
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tools/apt-get-install-deps.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then tools/brew-install-deps.sh; fi
- tools/install-shadow-node.sh
install:
- npm install
script:
- npm run lint
- rm -rf node_modules/lru-cache # FIXME: https://github.com/yodaos-project/ShadowNode/issues/551
# MARK: - coverage
- tools/coverage-instrument
- cd .coverage-workspace
# MARK: END - coverage
- sudo tools/build-yodart.sh
- sudo chmod a+rwx /var/run
- flora-dispatcher --uri=unix:/var/run/flora.sock --uri=tcp://0.0.0.0:37800/ --msg-buf-size=81920 --log-file=`pwd`/flora-dispatcher.log &
- voice-interface `pwd`/test/@yodaos/speech-synthesis/audio.raw &
- tools/test -l --node-path /usr/lib/node_modules --manifest /etc/manifest.json --reporter tap-spec --testset test/testsets-ci.txt --coverage-dir ../.nyc_output
after_success:
- cd ../
- npx nyc report --reporter=lcov
- npx codecov