Skip to content

Commit

Permalink
updated travis.yml for egg_info checking
Browse files Browse the repository at this point in the history
  • Loading branch information
eteq committed Oct 8, 2012
1 parent 3afad33 commit 70d7cc1
Showing 1 changed file with 15 additions and 19 deletions.
34 changes: 15 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,32 @@ python:
- 3.1
env:
#NUMPY_VERSION=999.9 guarantees the latest version
- NUMPY_VERSION=999.9 #INSTALL_SCIPY=false
- NUMPY_VERSION=1.5.1 #INSTALL_SCIPY=false
- NUMPY_VERSION=1.4.1 #INSTALL_SCIPY=false
- NUMPY_VERSION=999.9 ONLY_EGG_INFO=false
- NUMPY_VERSION=1.5.1 ONLY_EGG_INFO=false
- NUMPY_VERSION=1.4.1 ONLY_EGG_INFO=false

matrix:
include:
- python: 2.7
env: NUMPY_VERSION=999.9 ONLY_EGG_INFO=true
- python: 3.2
env: NUMPY_VERSION=999.9 ONLY_EGG_INFO=true
exclude:
- python: 3.2
env: NUMPY_VERSION=1.5.1 #INSTALL_SCIPY=false
env: NUMPY_VERSION=1.5.1 ONLY_EGG_INFO=false
- python: 3.1
env: NUMPY_VERSION=1.5.1 #INSTALL_SCIPY=false
env: NUMPY_VERSION=1.5.1 ONLY_EGG_INFO=false
- python: 3.2
env: NUMPY_VERSION=1.4.1 #INSTALL_SCIPY=false
env: NUMPY_VERSION=1.4.1 ONLY_EGG_INFO=false
- python: 3.1
env: NUMPY_VERSION=1.4.1 #INSTALL_SCIPY=false
#Uncomment this and all the other INSTALL_SCIPY stuff to get a build with scipy present
#include:
# - python: 2.7
# env: NUMPY_VERSION=999.9 INSTALL_SCIPY=true
#allow_failures:
# - python: 2.7
# env: NUMPY_VERSION=999.9 INSTALL_SCIPY=true
env: NUMPY_VERSION=1.4.1 ONLY_EGG_INFO=false


before_install:
#we do this to make sure we get the dependencies so pip works below
- sudo apt-get update -qq
- sudo apt-get install -qq python-numpy python-scipy cython libatlas-dev liblapack-dev gfortran
install:
- pip -q install "numpy<=$NUMPY_VERSION" --use-mirrors
- pip -q install Cython --use-mirrors
#- if $INSTALL_SCIPY;then pip -q install scipy --use-mirrors;fi
- python setup.py build
script: python setup.py egg_info test
- if ! $ONLY_EGG_INFO; then pip -q install "numpy<=$NUMPY_VERSION" --use-mirrors; fi
- if ! $ONLY_EGG_INFO; then pip -q install Cython --use-mirrors; fi
script: if $ONLY_EGG_INFO;then python setup.py egg_info;else python setup.py test;fi

0 comments on commit 70d7cc1

Please sign in to comment.