Skip to content

Commit

Permalink
Merge 59e625f into 78aa633
Browse files Browse the repository at this point in the history
  • Loading branch information
wkerzendorf committed Jul 24, 2018
2 parents 78aa633 + 59e625f commit 9a5937c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
23 changes: 9 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,14 @@ matrix:
- TEST_MODE='spectrum'

#trouble with osx building due to segfault at cython (https://github.com/cython/cython/issues/2199)
- os: osx
language: generic
env:
- COMPILER=clang
- SETUP_CMD='test --args="--tardis-refdata=$HOME/tardis-refdata/"'
- TEST_MODE='spectrum'
- MINICONDA_URL='http://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh'
# and https://github.com/cython/cython/issues/2505
# - os: osx
# language: generic
# env:
# - COMPILER=clang
# - SETUP_CMD='test --args="--tardis-refdata=$HOME/tardis-refdata/"'
# - TEST_MODE='spectrum'
# - MINICONDA_URL='http://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh'


- python: 2.7
Expand Down Expand Up @@ -87,15 +88,9 @@ install:
- cd $TRAVIS_BUILD_DIR
- conda env create -f tardis_env27.yml
- source activate tardis
#trouble with building due to segfault at cython (https://github.com/cython/cython/issues/2199)
#remove if we can get normal cython through conda
- git clone https://github.com/cython/cython
- cd cython
- git checkout c485b1b77264c3c75d090a3c526de24966830d42
- CFLAGS="$CFLAGS -D CYTHON_CLINE_IN_TRACEBACK=0" python setup.py install
- cd ..

script:
- python -c "import Cython; print Cython.__version__"
- echo CC=$COMPILER python setup.py $SETUP_CMD
- CC=$COMPILER python setup.py $SETUP_CMD

Expand Down
2 changes: 1 addition & 1 deletion tardis_env27.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies:
- matplotlib=2.0
- astropy=1.3
- numexpr=2.6
#- Cython=0.28
- Cython=0.28.4
- networkx=1.10
- pytest=3.0
- pyyaml=3.12
Expand Down

0 comments on commit 9a5937c

Please sign in to comment.