From 9420e0cbede944588638941fe09862c7557e2328 Mon Sep 17 00:00:00 2001 From: Christopher Troup Date: Thu, 26 Nov 2015 18:29:32 -0500 Subject: [PATCH] Add one more integration test --- .travis.yml | 1 + integration.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7f4c415..8034646 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/integration.sh b/integration.sh index 7b9a9f1..077bb4f 100755 --- a/integration.sh +++ b/integration.sh @@ -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