Added test step to travis

This commit is contained in:
Kylart 2019-07-03 22:38:34 +02:00
parent 4e0467b23f
commit 39bb42cc19
1 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,8 @@ jobs:
name: Mac
script:
- npm run lint
- npm run pack
- npm run test
-
os: linux
@ -34,8 +36,14 @@ jobs:
- gcc-5
env: CC=gcc-5 CXX=g++-5
name: Linux
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script:
- npm run lint
- npm run pack
- npm run test
- "[[ $TRAVIS_BRANCH == master ]] && npm run publish:linux || echo \"Skipped Deploy Step\""
notifications: