From: Nicolas Coden Date: Sat, 24 Mar 2018 23:41:24 +0000 (+0100) Subject: chore: move browserstack tests to its own travis job X-Git-Tag: v6.6.0~3^2~248^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6e14285e;p=thirdparty%2Ffoundation%2Ffoundation-sites.git chore: move browserstack tests to its own travis job Prevent browserstack tests to be started in all Travis jobs and start it only in its dedicated job. --- diff --git a/.travis.yml b/.travis.yml index 2e65257d8..8703a2fb4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,18 @@ language: node_js -node_js: - - "lts/boron" - - "lts/carbon" - - "stable" -install: - - npm install -script: npm run test:ci + +matrix: + include: + - node_js: "lts/boron" + env: ZF_TRAVIS_COMMAND=test:javascript:units + - node_js: "lts/carbon" + env: ZF_TRAVIS_COMMAND=test:javascript:units + - node_js: "stable" + env: ZF_TRAVIS_COMMAND=test:javascript:units + - node_js: "stable" + env: ZF_TRAVIS_COMMAND=test:javascript:browserstack + +install: npm install +script: npm run $ZF_TRAVIS_COMMAND + notifications: email: false diff --git a/browserstack.json b/browserstack.json index c73b930c0..283be64ee 100644 --- a/browserstack.json +++ b/browserstack.json @@ -1,6 +1,7 @@ { "test_path": "test/javascript/index.html", "test_framework": "mocha", + "exit_with_fail": true, "browsers": [ { "browser": "chrome",