mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Run tests also on lts and last stable version of nodejs
This commit is contained in:
parent
de6a9f5811
commit
cd7b6450c6
28
.travis.yml
28
.travis.yml
@ -1,22 +1,24 @@
|
|||||||
dist: trusty
|
dist: trusty
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- "10"
|
- 10
|
||||||
|
- lts/*
|
||||||
|
- node
|
||||||
before_install:
|
before_install:
|
||||||
- npm i -g npm
|
- npm i -g npm
|
||||||
before_script:
|
before_script:
|
||||||
- yarn danger ci
|
- yarn danger ci
|
||||||
- npm install grunt-cli -g
|
- npm install grunt-cli -g
|
||||||
- "export DISPLAY=:99.0"
|
- "export DISPLAY=:99.0"
|
||||||
- "export ELECTRON_DISABLE_SANDBOX=1"
|
- "export ELECTRON_DISABLE_SANDBOX=1"
|
||||||
- "sh -e /etc/init.d/xvfb start"
|
- "sh -e /etc/init.d/xvfb start"
|
||||||
- sleep 5
|
- sleep 5
|
||||||
script:
|
script:
|
||||||
- npm run test:e2e
|
- npm run test:e2e
|
||||||
- npm run test:unit
|
- npm run test:unit
|
||||||
- grunt
|
- grunt
|
||||||
after_script:
|
after_script:
|
||||||
- npm list
|
- npm list
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
|
Loading…
x
Reference in New Issue
Block a user