Run tests also on lts and last stable version of nodejs

This commit is contained in:
fewieden 2020-02-10 21:51:29 +01:00 committed by GitHub
parent de6a9f5811
commit cd7b6450c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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