Skip to content

Commit

Permalink
[Tests] fix npm v5 issues with example tests; allow failing examples …
Browse files Browse the repository at this point in the history
…to fail for now.
  • Loading branch information
ljharb committed Jun 1, 2017
1 parent 7f53b4d commit f16f0b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ matrix:
allow_failures:
- node_js: "6"
env: EXAMPLE=react-native
- node_js: "6"
env: EXAMPLE=mocha
- node_js: "6"
env: EXAMPLE=karma
env:
- REACT=0.13
- REACT=0.14
Expand Down
4 changes: 2 additions & 2 deletions example-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ set -e
npm run clean
npm run build
cd node_modules/enzyme-example-$1
npm install
npm i ../../
npm install --no-package-lock
npm i ../../ --no-save
npm test

0 comments on commit f16f0b8

Please sign in to comment.