forked from lisa-lab/pylearn2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 1.48 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
sudo: false
language: python
before_install:
- 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:/home/travis/miniconda2/bin:$PATH
- conda update --yes conda
install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then conda create --yes -q -n pyenv python=2.7 mkl pyzmq cython=0.21.1 pillow numpy=1.9.1 numpydoc scipy=0.14.0 pytables=3.1.1 numexpr=2.3.1 nose=1.3.4 pyyaml sphinx pyflakes pip matplotlib scikit-learn h5py libgfortran=1; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then conda create --yes -q -n pyenv python=3.4 mkl pyzmq cython=0.21.1 pillow numpy=1.9.1 numpydoc scipy=0.14.0 pytables=3.1.1 numexpr=2.3.1 nose=1.3.4 pyyaml sphinx pyflakes pip matplotlib scikit-learn h5py libgfortran=1; fi
- source activate pyenv
- pip install -q nose-parameterized==0.5.0
- pip install -q git+git://git.assembla.com/jobman.git
- pip install -q --no-deps git+git://github.com/Theano/Theano.git
- pip install -q nose-exclude
- python setup.py develop
matrix:
include:
- python: "2.7"
env: FLAGS=floatX=float64 PART="--exclude-dir=pylearn2/models"
- python: "2.7"
env: FLAGS=floatX=float64 PART=pylearn2/models
- python: "2.7"
env: TEST_DOC=YES
- python: "3.4"
env: FLAGS=floatX=float32 PART="--exclude-dir=pylearn2/models"
- python: "3.4"
env: FLAGS=floatX=float32 PART=pylearn2/models
script:
- sh .travis.sh