Skip to content

Commit 56a5101

Browse files
committed
Adding Travis-CI YAML
1 parent cebbeb3 commit 56a5101

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.travis.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
sudo: false
2+
3+
env:
4+
global:
5+
- NUMPY=numpy
6+
- TEST_ARGS=--no-pep8
7+
8+
language: python
9+
10+
matrix:
11+
include:
12+
- python: 2.6
13+
env: NUMPY=numpy==1.6
14+
- python: 2.7
15+
- python: 3.3
16+
- python: 3.4
17+
- python: 3.5
18+
# - python: 2.7
19+
# env: TEST_ARGS=--pep8
20+
21+
before_install:
22+
# Install into our own pristine virtualenv
23+
- virtualenv --python=python venv
24+
- source venv/bin/activate
25+
26+
install:
27+
# Upgrade pip and setuptools. Mock has issues with the default version of
28+
# setuptools
29+
- |
30+
pip install --upgrade pip
31+
pip install --upgrade setuptools
32+
pip install $NUMPY
33+
- cd geos-3.3.3
34+
export GEOS_DIR=$HOME/.local/
35+
./configure --prefix=$GEOS_DIR
36+
make; make install
37+
cd ..
38+
# - pip install pep8
39+
- python setup.py install
40+
41+
script:
42+
- python lib/mpl_toolkits/basemap/test.py
43+

0 commit comments

Comments
 (0)