Skip to content

Commit

Permalink
re-enable linux matrix elements in .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Winkel committed Jul 6, 2017
1 parent 9455235 commit c1a24ec
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 32 deletions.
62 changes: 31 additions & 31 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,37 +84,37 @@ matrix:
- CPP='g++-6'
- LD='gcc-6'

# # Do a coverage test.
# - os: linux
# env: SETUP_CMD='test --coverage'

# # Check for sphinx doc build warnings - we do this first because it
# # may run for a long time
# - os: linux
# env: SETUP_CMD='build_docs -w'

# # Now try Astropy dev with the latest 3.x.
# - os: linux
# env: ASTROPY_VERSION=development
# EVENT_TYPE='pull_request push cron'

# # Try all python versions and Numpy versions. Since we can assume that
# # the Numpy developers have taken care of testing Numpy with different
# # versions of Python, we can vary Python and Numpy versions at the same
# # time.

# - os: linux
# env: PYTHON_VERSION=3.5 NUMPY_VERSION=1.11

# # Do a PEP8 test with pycodestyle
# - os: linux
# env: MAIN_CMD='pycodestyle packagename --count' SETUP_CMD=''

# allow_failures:
# # Do a PEP8 test with pycodestyle
# # (allow to fail unless your code completely compliant)
# - os: linux
# env: MAIN_CMD='pycodestyle packagename --count' SETUP_CMD=''
# Do a coverage test.
- os: linux
env: SETUP_CMD='test --coverage'

# Check for sphinx doc build warnings - we do this first because it
# may run for a long time
- os: linux
env: SETUP_CMD='build_docs -w'

# Now try Astropy dev with the latest 3.x.
- os: linux
env: ASTROPY_VERSION=development
EVENT_TYPE='pull_request push cron'

# Try all python versions and Numpy versions. Since we can assume that
# the Numpy developers have taken care of testing Numpy with different
# versions of Python, we can vary Python and Numpy versions at the same
# time.

- os: linux
env: PYTHON_VERSION=3.5 NUMPY_VERSION=1.11

# Do a PEP8 test with pycodestyle
- os: linux
env: MAIN_CMD='pycodestyle packagename --count' SETUP_CMD=''

allow_failures:
# Do a PEP8 test with pycodestyle
# (allow to fail unless your code completely compliant)
- os: linux
env: MAIN_CMD='pycodestyle packagename --count' SETUP_CMD=''

before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
Expand Down
3 changes: 2 additions & 1 deletion pycraf/pathprof/tests/test_pathprof.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@ def test_height_profile_data(self, tmpdir_factory):
# Note conversion to some ndarray type necessary, as h5py
# returns <HDF5 dataset> types
np.squeeze(hprof_data_cache[k]),
np.squeeze(hprof_data_cache_true[k])
np.squeeze(hprof_data_cache_true[k]),
atol=1.e-6,
)

def test_fast_atten_map(self, tmpdir_factory):
Expand Down

0 comments on commit c1a24ec

Please sign in to comment.