From 79c68a881f82c175db38c4a434526b18c9070b6d Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Mon, 20 Mar 2017 10:37:20 +0000 Subject: [PATCH] debug test --- .travis.yml | 61 ++++++++++++++++++++------------------ tests/e2e/utils/process.ts | 2 +- 2 files changed, 33 insertions(+), 30 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6c3077b9a8e5..97ad65ecd464 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,36 +15,39 @@ matrix: include: - node_js: "6" os: linux - env: SCRIPT=lint - - node_js: "6" - os: linux - env: SCRIPT=build - - node_js: "6" - os: linux - env: SCRIPT=test - - node_js: "6" - os: linux - env: NODE_SCRIPT="tests/run_e2e.js --glob=tests/build/**" - - node_js: "6" - os: linux - env: NODE_SCRIPT="tests/run_e2e.js --eject --glob=tests/build/**" - - node_js: "6" - os: linux - env: NODE_SCRIPT="tests/run_e2e.js --ignore=**/tests/build/**" - - node_js: "6" - os: linux - env: NODE_SCRIPT="tests/run_e2e.js --ng4 --glob=tests/build/**" - - node_js: "6" - os: linux - env: NODE_SCRIPT="tests/run_e2e.js --ng4 --ignore=**/tests/build/**" + env: NODE_SCRIPT="tests/run_e2e.js tests/e2e/tests/test/test-fail-watch.ts" + # - node_js: "6" + # os: linux + # env: SCRIPT=lint + # - node_js: "6" + # os: linux + # env: SCRIPT=build + # - node_js: "6" + # os: linux + # env: SCRIPT=test + # - node_js: "6" + # os: linux + # env: NODE_SCRIPT="tests/run_e2e.js --glob=tests/build/**" + # - node_js: "6" + # os: linux + # env: NODE_SCRIPT="tests/run_e2e.js --eject --glob=tests/build/**" + # - node_js: "6" + # os: linux + # env: NODE_SCRIPT="tests/run_e2e.js --ignore=**/tests/build/**" + # - node_js: "6" + # os: linux + # env: NODE_SCRIPT="tests/run_e2e.js --ng4 --glob=tests/build/**" + # - node_js: "6" + # os: linux + # env: NODE_SCRIPT="tests/run_e2e.js --ng4 --ignore=**/tests/build/**" - # Optional builds. - - node_js: "6" - os: linux - env: NODE_SCRIPT="tests/run_e2e.js --nightly --ng4" - - node_js: "7" - os: linux - env: NODE_SCRIPT=tests/run_e2e.js + # # Optional builds. + # - node_js: "6" + # os: linux + # env: NODE_SCRIPT="tests/run_e2e.js --nightly --ng4" + # - node_js: "7" + # os: linux + # env: NODE_SCRIPT=tests/run_e2e.js before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; fi diff --git a/tests/e2e/utils/process.ts b/tests/e2e/utils/process.ts index 32ff695efaac..8931af8bff79 100644 --- a/tests/e2e/utils/process.ts +++ b/tests/e2e/utils/process.ts @@ -133,7 +133,7 @@ export function execAndWaitForOutputToMatch(cmd: string, args: string[], match: } export function silentExecAndWaitForOutputToMatch(cmd: string, args: string[], match: RegExp) { - return _exec({ silent: true, waitForMatch: match }, cmd, args); + return _exec({ silent: false, waitForMatch: match }, cmd, args); }