forked from scipy/scipy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (46 loc) · 1.5 KB
/
.travis.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# After changing this file, check it on:
# http://lint.travis-ci.org/
language: python
python:
- 3.3
matrix:
include:
- python: 2.7
env:
- TESTMODE=full
- COVERAGE=--coverage
- python: 2.6
env:
- TESTMODE=fast
- OPTIMIZE=-OO
- python: 2.7
env:
- PYFLAKES=1
before_install:
- pip install pyflakes
script:
- PYFLAKES_NODOCTEST=1 pyflakes scipy | grep -E -v 'unable to detect undefined names|assigned to but never used|imported but unused|redefinition of unused' > test.out; cat test.out; test \! -s test.out
before_install:
- uname -a
- free -m
- df -h
- ulimit -a
- sudo apt-get update -qq
- sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran
- mkdir builds
- pushd builds
- pip install --upgrade pip setuptools # Upgrade pip and setuptools to get ones with `wheel` support
- pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel --use-mirrors nose numpy Cython mpmath argparse
- if [ "${TESTMODE}" == "full" ]; then pip install coverage coveralls; fi
- python -V
- popd
script:
- python $OPTIMIZE runtests.py -g -m $TESTMODE $COVERAGE
env:
- TESTMODE=fast
notifications:
# Perhaps we should have status emails sent to the mailing list, but
# let's wait to see what people think before turning that on.
email: false
after_success:
- if [ "${TESTMODE}" == "full" ]; then cp build/test/.coverage . && coveralls; fi