diff --git a/.travis.yml b/.travis.yml index 232811802e..94b155e074 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,10 @@ language: node_js jobs: + fast_finish: true + allow_failures: + - stage: security scan 🔐 + include: - stage: unit tests 👩🏽‍💻 script: npm run test:unit @@ -13,10 +17,6 @@ jobs: - node_js: lts/* - node_js: node - - stage: security scan 🔐 - script: npm run test:redos - node_js: lts/* - - stage: lint ✨ script: npm run test:lint node_js: lts/* @@ -35,6 +35,10 @@ jobs: node_js: lts/* if: branch = master AND type = push + - stage: security scan 🔐 + script: npm run test:redos + node_js: lts/* + cache: directories: - node_modules