Skip to content

Commit

Permalink
try to test all files and test it with coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mjirik committed Nov 6, 2018
1 parent 241deab commit 83966aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Expand Up @@ -46,9 +46,10 @@ install:
- conda install --yes --file requirements_conda.txt python=$CONDA_PYTHON_VERSION
# - pip install -r ci/requirements_ci.txt
# - pip install coverage
- conda install coveralls nose python=$CONDA_PYTHON_VERSION
# - conda install coveralls nose python=$CONDA_PYTHON_VERSION
# - "easy_install SimpleITK mahotas"
- pip install -r requirements_pip.txt
- pip install coveralls
# - if [ ${pack} == "old_mpl" ]; then conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy nose dateutil pandas statsmodels pil six; fi
# - git clone https://github.com/mjirik/skelet3d.git
# - mkdir skelet3d/build
Expand Down Expand Up @@ -121,9 +122,8 @@ before_script:
- sleep 3 # give xvfb sume time to start

# command to run tests
#script: nosetests --with-coverage --verbose -d --cover-package=lisa
script: nosetests --with-coverage --verbose -d --cover-package=lisa
# script: nosetests --with-coverage --verbose --nocapture --nologcapture --cover-package=lisa
# skip organ_segmentation_tests
script: nosetests --with-coverage -v -s -x --cover-package=lisa -I organ_segmentation_test.py
after_success:
- coveralls
#script: nosetests --with-coverage -v -s -x --cover-package=lisa -I organ_segmentation_test.py
after_success: coveralls
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,2 +1,2 @@
# requirements for development only
coveralls
# coveralls

0 comments on commit 83966aa

Please sign in to comment.