forked from lisa-lab/pylearn2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 1.38 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
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:$PATH
- conda update --yes conda
install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then conda create --yes -q -n pyenv python=2.6 mkl pyzmq cython=0.2 pillow numpy=1.6 numpydoc scipy=0.11 pytables=3.0 numexpr=2.2.2 nose=1.1 pyyaml sphinx pyflakes argparse pip matplotlib scikit-learn h5py; 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; fi
- source activate pyenv
- 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.6"
env: FLAGS=floatX=float64 PART="--exclude-dir=pylearn2/models"
- python: "2.6"
env: FLAGS=floatX=float64 PART=pylearn2/models
- python: "2.6"
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