forked from Theano/Theano
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (43 loc) · 1.44 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
47
48
49
50
# After changing this file, check it on:
# http://lint.travis-ci.org/
language: python
python:
- "2.6"
# - "2.7"
# - "3.2"
# command to install dependencies
before_install:
- sudo apt-get install -q libatlas3gf-base libatlas-dev liblapack-dev gfortran
# Install miniconda to avoid compiling scipy
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda
install:
# We support scipy 0.7.2, but it is not available on conda.
# So we test with 0.11. Our internal buildbot have 0.7.2.
- conda create --yes -q -n py26 python=2.6 numpy=1.6 scipy=0.11 nose=1.1 pip
- source activate py26
- pip install . --no-deps --use-mirrors
# command to run tests
env:
- PART="theano/scan_module/"
- PART="theano/sandbox theano/sparse theano/scalar/ theano/tensor/nnet/"
- PART="theano/tensor/tests/test_basic.py theano/tensor/signal/ theano/compile/ theano/gof/ theano/misc/ theano/tests/ theano/compat"
- PART="-e test_basic.py theano/tensor/tests"
script:
- export THEANO_FLAGS=blas.ldflags="-lblas -lgfortran",warn.ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise
- python --version
- uname -a
- free -m
- df -h
- ulimit -a
- echo "$PART"
- theano-nose -v $PART
- theano-cache list
#after_script:
after_failure:
- cat /home/travis/.pip/pip.log
#after_success:
cache: apt