summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: f41b678b92c52e8462085c792cae9a9dba7a1e6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: python

python:
  - "2.7"
  - "3.2"
  - "3.3"

env:
  - NUMPY_VERSION=0
  - NUMPY_VERSION=1.6
  - NUMPY_VERSION=1.7

branches:
  only:
    - master
    - devel

install: 
    - if [ $NUMPY_VERSION != '0' ]; then pip install -q numpy==$NUMPY_VERSION; fi
    - pip install . --use-mirrors

script: python setup.py test

# Permit failures for these as these NumPy packages don't seem to be installable with Travis
matrix:
    allow_failures:
        - python: "3.2"
          env: NUMPY_VERSION=1.6
        - python: "3.3"
          env: NUMPY_VERSION=1.6