Browse Source

travid dbg

python3-testing-appstore
miili 4 years ago
parent
commit
b4cab6b6a8
  1. 4
      .travis.yml
  2. 1
      test/common.py

4
.travis.yml

@ -60,8 +60,8 @@ install:
script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then python setup.py test ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then coverage run --source=pyrocko setup.py test ; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then coverage run --source=pyrocko test/test_datacube.py; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then coverage run --source=pyrocko setup.py test ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then coverage run --source=pyrocko test/test_response_plot.py; fi
after_success:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then coveralls; fi

1
test/common.py

@ -14,6 +14,7 @@ def test_data_file(fn):
fpath = test_data_file_no_download(fn)
if not os.path.exists(fpath):
url = 'http://kinherd.org/pyrocko_test_data/' + fn
print('Download %s' % url)
util.download_file(url, fpath)
return fpath

Loading…
Cancel
Save