From 7e061f28258e3cd0f9c5d4535c57d1f99931fa44 Mon Sep 17 00:00:00 2001 From: Beatriz Rizental Date: Fri, 11 Aug 2017 08:51:11 -0300 Subject: [PATCH] Fixes #1665 - Gets tests to pass with PRs from forks. --- .travis.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 654ad2241..c9e35ee8b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,8 +24,6 @@ addons: env: global: - ISSUES_REPO_URI=webcompat/webcompat-tests/issues - - FAKE_ID=e80a666fbf1fa9ea18db - - FAKE_SECRET=688c4546f09624f8c44773b22268064dfca19a59 # grab latest 4.x release, which is LTS for now - TRAVIS_NODE_VERSION="4" @@ -54,9 +52,6 @@ before_script: - npm run build # now run the tests! -# if this is a pull request from a fork, TRAVIS_SECURE_ENV_VARS will be false, so -# just run the non-auth tests. otherwise, run everything. script: - nosetests - - if [ "$TRAVIS_SECURE_ENV_VARS" == "false" ] ; then node_modules/.bin/intern-runner config=tests/intern reporters=Console functionalSuites=tests/functional-nonauth ; fi - - if [ "$TRAVIS_SECURE_ENV_VARS" == "true" ] ; then node_modules/.bin/intern-runner config=tests/intern reporters=Console user="$USER" pw="$PW" ; fi + - node_modules/.bin/intern-runner config=tests/intern reporters=Console