Skip to content

Commit

Permalink
Stop on first failure
Browse files Browse the repository at this point in the history
  • Loading branch information
wshayes committed Jan 21, 2018
1 parent 8fe74c0 commit d84d371
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,13 @@ $(VDIR)/parser%.py: $(VDIR)/bel%.ebnf
@echo Turning $< into $@
python bin/ebnf_to_parsers.py --ebnf_fn "$<"

# Travis CI environment
ci_tests:
py.test -rs --cov=./bel -c tests/pytest.ini --color=yes --durations=10 --flakes --pep8 tests
BELTEST='Travis' py.test -rs --cov=./bel -c tests/pytest.ini --color=yes --durations=10 --flakes --pep8 tests

# Local virtualenv test runner with BEL.bio test environment
tests: clean_pyc
py.test -rs --cov=./bel --cov-report html --cov-config .coveragerc -c tests/pytest.ini --color=yes --durations=10 --flakes --pep8 tests
BELTEST='Local' py.test -x -rs --cov=./bel --cov-report html --cov-config .coveragerc -c tests/pytest.ini --color=yes --durations=10 --flakes --pep8 tests

clean_pyc:
find . -name '*.pyc' -exec rm -r -- {} +
Expand Down

0 comments on commit d84d371

Please sign in to comment.