1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
node-red-nodes/.travis.yml

30 lines
1.1 KiB
YAML
Raw Normal View History

2015-07-22 14:12:30 +02:00
sudo: false
language: node_js
matrix:
2020-07-04 18:06:41 +02:00
# allow_failures:
# - node_js: 14
include:
2020-05-03 17:01:04 +02:00
- node_js: 14
2019-04-24 15:07:11 +02:00
- node_js: 12
- node_js: 10
- node_js: 8
- python: 2.7
language: python
before_script: pip install flake8
script: flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
- 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
before_script:
# 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,'`
- npm install -g istanbul grunt-cli coveralls
- npm install node-red
script:
- istanbul cover grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | $(npm get prefix)/bin/coveralls || true ) && rm -rf coverage