forked from lisa-lab/DeepLearningTutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (47 loc) · 1.77 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
51
52
# After changing this file, check it on:
# http://lint.travis-ci.org/
#We can't get scipy installed with the python language
#So we will use the system python from the c language.
language: c
#language: python
#python:
# - "2.5"
# - "2.7"
# - "3.2"
# command to install dependencies
before_install:
#zlib1g-dev is needed to allow PIL to uncompress the dataset.
- 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
install:
# - "pip install -q numpy --use-mirrors"
# Use Pillow instead of PIL as it is better packaged
# - "pip install -q Pillow --use-mirrors"
#If we don't install numpy before SciPy 0.10.1, the SciPy installations fails.
# - "pip install -q scipy --use-mirrors"
- "sudo pip install --no-deps git+git://github.com/Theano/Theano.git"
env:
- PART="test.py:test_logistic_sgd test.py:test_logistic_cg test.py:test_mlp"
- PART="test.py:test_convolutional_mlp test.py:test_dA"
- PART="test.py:test_SdA"
- PART="test.py:test_dbn"
- PART="test.py:test_rbm"
- PART="-e test.py"
#569.882s #9 code.test.test_rbm OK
#298.992s #8 code.test.test_dbn OK
#268.901s #7 code.test.test_SdA OK
#67.292s #6 code.test.test_dA OK
#27.485s #4 code.test.test_mlp OK
#26.204s #5 code.test.test_convolutional_mlp OK
#14.676s #3 code.test.test_logistic_cg OK
#10.66s #2 code.test.test_logistic_sgd OK
#5.795s #1 code.hmc.test_hmc.test_hmc OK
script:
- cd data
- ./download.sh
- ls
- cd ../code
- pwd
- ls
- export THEANO_FLAGS=warn.ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise
- python --version
- nosetests $PART