Skip to content

Commit

Permalink
Merge pull request #634 from broadinstitute/is-restore-redundant-testing
Browse files Browse the repository at this point in the history
restored redundant testing where unit tests get run for a pull request
  • Loading branch information
notestaff committed Jun 13, 2017
2 parents dd91a30 + d4d637c commit 2f9f312
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -48,8 +48,8 @@ install:
- travis/install-pip.sh

script:
- travis/tests-unit.sh
- travis/tests-long.sh
- travis/tests-unit.sh

after_success:
- coveralls
Expand Down
4 changes: 3 additions & 1 deletion travis/tests-unit.sh
@@ -1,7 +1,9 @@
#!/bin/bash
#set -e

if [ $TRAVIS_PULL_REQUEST == "false" ]; then
UNIT_TESTS_ALWAYS=1

if [ $UNIT_TESTS_ALWAYS ] || [ $TRAVIS_PULL_REQUEST == "false" ]; then
export PYTEST_ADDOPTS="-rsxX -n 2 --durations=50 --fixture-durations=20 --junit-xml=pytest.xml --cov-report= --cov broad_utils --cov illumina --cov assembly --cov interhost --cov intrahost --cov metagenomics --cov ncbi --cov read_utils --cov reports --cov taxon_filter --cov tools --cov util"
py.test test/unit
else
Expand Down

0 comments on commit 2f9f312

Please sign in to comment.