Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: make travis build one target against Numpy 1.5 #3377

Merged
merged 1 commit into from Feb 27, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 7 additions & 5 deletions .travis.yml
@@ -1,17 +1,21 @@
# After changing this file, check it on: # After changing this file, check it on:
# http://lint.travis-ci.org/ # http://lint.travis-ci.org/
language: python language: python
python:
- 3.3
matrix: matrix:
include: include:
- python: 3.3
env:
- TESTMODE=fast
- COVERAGE=
- NUMPYSPEC=
- python: 2.7 - python: 2.7
env: env:
- TESTMODE=full - TESTMODE=full
- COVERAGE=--coverage - COVERAGE=--coverage
- python: 2.6 - python: 2.6
env: env:
- TESTMODE=fast - TESTMODE=fast
- NUMPYSPEC===1.5.1
- OPTIMIZE=-OO - OPTIMIZE=-OO
- python: 2.7 - python: 2.7
env: env:
Expand All @@ -30,14 +34,12 @@ before_install:
- mkdir builds - mkdir builds
- pushd builds - pushd builds
- pip install --upgrade pip setuptools # Upgrade pip and setuptools to get ones with `wheel` support - pip install --upgrade pip setuptools # Upgrade pip and setuptools to get ones with `wheel` support
- pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel --use-mirrors nose numpy Cython mpmath argparse - pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel --use-mirrors nose numpy$NUMPYSPEC Cython mpmath argparse
- if [ "${TESTMODE}" == "full" ]; then pip install coverage coveralls; fi - if [ "${TESTMODE}" == "full" ]; then pip install coverage coveralls; fi
- python -V - python -V
- popd - popd
script: script:
- python $OPTIMIZE runtests.py -g -m $TESTMODE $COVERAGE - python $OPTIMIZE runtests.py -g -m $TESTMODE $COVERAGE
env:
- TESTMODE=fast
notifications: notifications:
# Perhaps we should have status emails sent to the mailing list, but # Perhaps we should have status emails sent to the mailing list, but
# let's wait to see what people think before turning that on. # let's wait to see what people think before turning that on.
Expand Down