2015-07-22 14:12:30 +02:00
|
|
|
sudo: false
|
2015-03-24 20:42:32 +01:00
|
|
|
language: node_js
|
2018-08-15 15:18:33 +02:00
|
|
|
matrix:
|
2021-11-17 19:08:13 +01:00
|
|
|
# allow_failures:
|
|
|
|
# - node_js: 16
|
2018-08-15 15:18:33 +02:00
|
|
|
include:
|
2021-04-25 17:17:10 +02:00
|
|
|
- node_js: 16
|
2020-05-03 17:01:04 +02:00
|
|
|
- node_js: 14
|
2019-04-24 15:07:11 +02:00
|
|
|
- node_js: 12
|
2020-10-19 23:38:31 +02:00
|
|
|
# - python: 2.7
|
|
|
|
# language: python
|
|
|
|
# before_script: pip install flake8
|
|
|
|
# script: flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
2018-08-15 15:18:33 +02:00
|
|
|
- python: 3.7
|
|
|
|
language: python
|
|
|
|
dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069)
|
|
|
|
sudo: required # required for Python 3.7 (travis-ci/travis-ci#9069)
|
|
|
|
before_script: pip install flake8
|
|
|
|
script: flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
2018-08-15 22:50:59 +02:00
|
|
|
before_install:
|
|
|
|
- npm i -g npm
|
2015-03-24 20:42:32 +01:00
|
|
|
before_script:
|
2018-05-01 18:33:05 +02:00
|
|
|
# Remove the './node_modules/.bin:' entry, see https://github.com/travis-ci/travis-ci/issues/8813
|
|
|
|
- export PATH=`echo ${PATH} | sed -re 's,(^|:)(./)?node_modules/.bin($|:),\1,'`
|
2020-10-19 22:33:50 +02:00
|
|
|
- npm install -g nyc grunt-cli coveralls
|
2018-05-01 18:33:05 +02:00
|
|
|
- npm install node-red
|
2015-03-24 20:42:32 +01:00
|
|
|
script:
|
2020-10-19 22:33:50 +02:00
|
|
|
# - istanbul cover grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | $(npm get prefix)/bin/coveralls || true ) && rm -rf coverage
|
2020-10-19 23:30:36 +02:00
|
|
|
# - nyc --check-coverage --reporter=text --reporter=lcovonly --reporter=html grunt
|
|
|
|
# - nyc grunt && rm -rf coverage .nyc_output
|
2020-10-19 23:42:25 +02:00
|
|
|
- nyc grunt && nyc report --reporter=text-lcov | coveralls
|