Skip to content

Commit

Permalink
Merge pull request #1256 from UziTech/test-travis
Browse files Browse the repository at this point in the history
Allow travis to pass when redos check fails
  • Loading branch information
styfle authored May 8, 2018
2 parents fab3ee2 + 9b1c6aa commit dbd0dff
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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/*
Expand All @@ -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

0 comments on commit dbd0dff

Please sign in to comment.