feat: enable runnint test on travis

This commit is contained in:
Andrey Antukh 2019-06-24 19:38:51 +02:00
parent 4da6ae0a74
commit 31766fde32
8 changed files with 79 additions and 105 deletions

View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
source ~/.bashrc
npm install
npm run build:test || exit 1;
node ./target/tests/main

View file

@ -1,10 +0,0 @@
#!/usr/bin/env bash
source ~/.bashrc
npm install
npm run build:main || exit 1;
npm run build:view || exit 1;
npm run build:worker || exit 1;
# TODO
#node ./out/tests.js