forked from matplotlib/matplotlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
21 lines (18 loc) · 698 Bytes
/
.travis.yml
File metadata and controls
21 lines (18 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: python
python:
- 2.6
- 2.7
- 3.2
install:
- pip install --use-mirrors nose
# This is a workaround to install numpy with the version of
# virtualenv in Travis. If that is updated in the future, this can
# be simplified to 'pip install numpy'
- 'if [ $TRAVIS_PYTHON_VERSION == "3.2" ]; then pip install https://github.com/y-p/numpy/archive/1.6.2_with_travis_fix.tar.gz; fi'
- 'if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then pip install numpy; fi' # should be nop if pre-installed
- if [[ $TRAVIS_PYTHON_VERSION == '2.'* ]]; then pip install --use-mirrors PIL; fi
- python setup.py install
script:
- mkdir ../foo
- cd ../foo
- python ../matplotlib/tests.py