Skip to content

Commit 2053705

Browse files
committed
Merge pull request lisa-lab#94 from abergeron/pip_travis
Stop using --no-deps when installing theano.
2 parents bd7b1e4 + 1245f57 commit 2053705

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

.travis.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,22 @@
11
# After changing this file, check it on:
22
# http://lint.travis-ci.org/
33

4-
#We can't get scipy installed with the python language
5-
#So we will use the system python from the c language.
6-
language: c
7-
#language: python
4+
language: python
85
#python:
9-
# - "2.5"
106
# - "2.7"
117
# - "3.2"
128
# command to install dependencies
139
before_install:
14-
#zlib1g-dev is needed to allow PIL to uncompress the dataset.
15-
- sudo apt-get update
16-
- sudo apt-get install -qq libatlas3gf-base libatlas-dev zlib1g-dev zip unzip zlibc libzip-dev libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev python-numpy python-scipy python-pip python-nose python-yaml pyflakes python-imaging
10+
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
11+
- chmod +x miniconda.sh
12+
- ./miniconda.sh -b
13+
- export PATH=/home/travis/miniconda/bin:$PATH
14+
- conda update --yes conda
1715

1816
install:
19-
# - "pip install -q numpy --use-mirrors"
20-
# Use Pillow instead of PIL as it is better packaged
21-
# - "pip install -q Pillow --use-mirrors"
22-
#If we don't install numpy before SciPy 0.10.1, the SciPy installations fails.
23-
# - "pip install -q scipy --use-mirrors"
24-
- "sudo pip install six"
25-
- "sudo pip install --no-deps git+git://github.com/Theano/Theano.git"
17+
- conda create --yes -q -n pyenv mkl python=2.7 numpy scipy pip nose yaml pyflakes pillow pyparsing=1.5
18+
- source activate pyenv
19+
- pip install git+git://github.com/Theano/Theano.git
2620

2721
env:
2822
- PART="test.py:test_logistic_sgd test.py:test_logistic_cg test.py:test_mlp test.py:test_convolutional_mlp test.py:test_dA"

0 commit comments

Comments
 (0)