Skip to content

Commit

Permalink
simplification of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thearn committed Feb 28, 2014
1 parent 31c9714 commit c1720fe
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,13 @@
#

language: c
env:
- PYTHON=python PYSUF='' PYVER=2.7
- PYTHON=python3 PYSUF='3' PYVER=3.2

install:
- sudo apt-get update # needed for python3-numpy
- sudo apt-get install $PYTHON-dev
- sudo apt-get install $PYTHON-numpy
- sudo apt-get install $PYTHON-setuptools
- sudo apt-get install $PYTHON-nose
- sudo easy_install$PYSUF pip
- if [[ $PYVER == '2.7' ]]; then sudo apt-get install $PYTHON-matplotlib; fi
- if [[ $PYVER == '3.2' ]]; then sudo pip3 install matplotlib; fi
- sudo apt-get install python-dev
- sudo apt-get install python-numpy
- sudo apt-get install python-nose
- sudo apt-get install python-matplotlib

script:
# Change into an innocuous directory and find tests from installation
- mkdir $HOME/.matplotlib
- "echo 'backend : Agg' > $HOME/.matplotlib/matplotlibrc"
- "echo 'backend.qt4 : PyQt4' >> $HOME/.matplotlib/matplotlibrc"
- "cd game-of-life"
- if [[ $PYVER == '2.7' ]]; then nosetests-2.7; fi
- if [[ $PYVER == '3.2' ]]; then nosetests-3.2; fi
- nosetests

0 comments on commit c1720fe

Please sign in to comment.