Skip to content

Commit

Permalink
Add one more integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
minichate committed Nov 26, 2015
1 parent 25f259b commit 9420e0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -17,6 +17,7 @@ env:
matrix:
- INTEGRATION_REPO="https://github.com/discourse/discourse.git" APP_PATH="discourse/jsapp"
- INTEGRATION_REPO="https://github.com/aptible/ember-json-schema.git" APP_PATH="ember-json-schema/app"
- INTEGRATION_REPO="https://github.com/offirgolan/ember-cp-validations.git" APP_PATH="ember-cp-validations/app"

before_script:
- ln -s ../ ./node_modules/jscs-ember-deprecations
Expand Down
2 changes: 2 additions & 0 deletions integration.sh
Expand Up @@ -2,6 +2,8 @@

OUTPUT=$(./node_modules/jscs/bin/jscs --config .integration_jscsrc -m -1 $@ | grep "ReferenceError" | wc -l)

echo "${OUTPUT} deprecation warnings found"

if [ "$OUTPUT" -gt 0 ]; then
exit 1
fi
Expand Down

0 comments on commit 9420e0c

Please sign in to comment.