Skip to content

Commit

Permalink
running tests and archiving results even if python 2 tests fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Jul 25, 2017
1 parent b3d2163 commit 417dfab
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .circleci/config.yml
Expand Up @@ -25,11 +25,16 @@ jobs:
- /usr/local/lib/python2.7/site-packages
- /usr/local/lib/python3.6/site-packages

- run: pip2 install -e .
- run: karr-lab-build-utils-2 run-tests tests --with-xunit --with-coverage
- run: |
set +e
- run: pip3 install -e .
- run: karr-lab-build-utils-3 run-tests tests --with-xunit --with-coverage
pip2 install -e .
karr-lab-build-utils-2 run-tests tests --with-xunit --with-coverage
pip3 install -e .
karr-lab-build-utils-3 run-tests tests --with-xunit --with-coverage
karr-lab-build-utils make-and-archive-reports
- store_test_results:
path: /root/project/tests/reports
Expand All @@ -39,8 +44,6 @@ jobs:
- store_artifacts:
path: /root/project/.coverage.3.6.1
destination: .coverage.3.6.1

- run: karr-lab-build-utils make-and-archive-reports
- store_artifacts:
path: /root/project/docs/_build/html
destination: docs

0 comments on commit 417dfab

Please sign in to comment.