Skip to content

Commit

Permalink
Fixes webcompat#1665 - Gets tests to pass with PRs from forks.
Browse files Browse the repository at this point in the history
  • Loading branch information
brizental committed Aug 11, 2017
1 parent 8cc954b commit 7e061f2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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

0 comments on commit 7e061f2

Please sign in to comment.