2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-06-26 07:13:26 +00:00

Align full tests (linter+tests) with deployment platform

This commit is contained in:
Ronan Jouchet 2020-03-15 17:23:48 -04:00
parent d6e7aa6f41
commit fd37a6a4c8

View File

@ -4,15 +4,15 @@ os:
- osx - osx
- windows - windows
node_js: node_js:
- '13' # Changing this? Remind to adjust the linter condition below causing linter to run for only one version (for faster CI) - '13'
- '12' - '12' # Changing this? Remind to keep linter+deploy conditions below aligned
- '8' - '8'
install: install:
- npm install - npm install
- npm run build - npm run build
script: script:
# Only run linter once, for faster CI # Only run linter once, for faster CI. Remind to keep linter+deploy conditions below aligned
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_NODE_VERSION" = "13" ]; then npm run lint; fi - if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_NODE_VERSION" = "12" ]; then npm run lint; fi
- npm test - npm test
deploy: deploy:
provider: npm provider: npm
@ -23,5 +23,5 @@ deploy:
on: on:
tags: true tags: true
repo: jiahaog/nativefier repo: jiahaog/nativefier
node_js: '12' node_js: '12' # Remind to keep linter+deploy conditions above aligned
os: linux os: linux