GeezerVison is showing github.com — Merge pull request #94 from abergeron/pip_travis · willfu/DeepLearningTutorials@2053705
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .travis.yml +9-15Lines changed: 9 additions & 15 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | # After changing this file, check it on: |
2 | 2 | # http://lint.travis-ci.org/ |
3 | 3 |
|
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 |
8 | 5 | #python: |
9 | | -# - "2.5" |
10 | 6 | # - "2.7" |
11 | 7 | # - "3.2" |
12 | 8 | # command to install dependencies |
13 | 9 | 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 |
17 | 15 |
|
18 | 16 | 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 |
26 | 20 |
|
27 | 21 | env: |
28 | 22 | - PART="test.py:test_logistic_sgd test.py:test_logistic_cg test.py:test_mlp test.py:test_convolutional_mlp test.py:test_dA" |
|