2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-12-23 02:28:55 +00:00
nativefier/.travis.yml
Ronan Jouchet 4c8d1a1185 Travis: more attempting to get ts-estlint to install on npm7
Looking at https://travis-ci.org/github/jiahaog/nativefier/jobs/742333968 ,
I see that @typescript-eslint/eslint-plugin@3.10.1 is being "Found".
I didn't ask for it, and I see that Travis reports in its "cache.npm"
section that

    adding /home/travis/build/jiahaog/nativefier/node_modules to cache
    creating directory /home/travis/build/jiahaog/nativefier/node_modules

-> Maybe Travis is trying to reuse stuff and we had a leftover ts-eslint@3
   in the build machine??? Trying prefixing dev-up with a cleanup
2020-11-08 21:42:39 -05:00

31 lines
1.4 KiB
YAML

language: node_js
os:
- linux
- osx
- windows
node_js:
- '15'
- '14' # Changing this? Remind to keep linter+deploy conditions below aligned
- '12'
- '10'
install:
- rm -rf lib/ app/lib/ app/dist/ node_modules/ app/node_modules/
- npm run dev-up
- npm run build
script:
# Only run linter once, for faster CI. Remind to keep linter+deploy conditions below aligned
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_NODE_VERSION" = "14" ]; then npm run lint; fi
- npm test
# https://docs.travis-ci.com/user/deployment
deploy:
provider: npm
skip_cleanup: true
email: jiahaog@gmail.com
api_token:
secure: al3oL4T5teMYt8GBAN1yx1l5Q25opB2LxYCAl6mbdnuhFBHO47aUnbEa/xJc2B0s6E9S8gJR2pYkg02WBPhr94GU+Pg3Gi/Lu8SqBLbrUzB4PT1ow30aoGIi4qaCvjRSbFuHr1I3gF/OZwcVlibU2C8GHArG2AV+TC2Krpsr6aa4V2qGmJwUMNP+rok2k9YZuUIB5lt8ZONwykYLrDxLOKZiZJ9nCLRBwJLpEUp4+z4k8zE7OTiU8/lFQMUV+WSvZVjjV+d8UCnLGN8LplZGY+VSAoh3JjrTTgXLkoT2EeZ1GFdhToanZnVkcrkT5BgNTEfq3OPB/rkqgCtwCUrOuudJE1uoXauVbYM7EwuahdRFC89Z9VBSHdsSw8Qk4cgSphS+U4+G3/+7oel8zWdHrH+iDj+YWFyB0WeyBvCqiqqzjwTo1Zjw6zzKUQxnmuhBEJ94jktTNV+ixV58VAy+oFecAFB4D8JMIw/ibgoB5ZJJdB8iRmrjhJoUjvUY8S7RpilcieDt0NO0h0y8/Qk0XLy/hgyuohsAsrl/lz4qP/dJVGVO6eSHVSn6tGUbMPymKKY5/s9czQT0fd6zE1ajdefva0YuePsuVVba1OophZM3UtfxPl7mwWiruTlRqwySa287a7ugTIM4wrO4T98zz0aqkYCJoZ9hgdYryrngRvM=
on:
tags: true
repo: jiahaog/nativefier
node_js: '14' # Remind to keep linter+deploy conditions above aligned
condition: '$TRAVIS_OS_NAME = linux'