<commit_before># After changing this file, check it on:
# http://lint.travis-ci.org/

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

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"
  - "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   #10     code.test.test_rbm OK
#298.992s   #9      code.test.test_dbn OK
#268.901s   #8      code.test.test_SdA OK
#67.292s    #7      code.test.test_dA OK
#27.485s    #5      code.test.test_mlp OK
#26.204s    #6      code.test.test_convolutional_mlp OK
#14.676s    #4      code.test.test_logistic_cg OK
#10.66s     #3      code.test.test_logistic_sgd OK
#5.795s     #1      code.mcrbm.test_hmc.test_hmc OK
#0.0s       #2      code.mcrbm.test_mcrbm.test_reproduce_ranzato_hinton_2010 FAILED TEST

script:
  - cd data
  - ./download.sh
  - ls
  - cd ../code<commit_msg>in travis config add missing dependency for hmc test.<commit_after># After changing this file, check it on:
# http://lint.travis-ci.org/

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

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"
  - "pip install --no-deps git+git://github.com/Theano/Theano.git"
  - "pip install hg+http://hg.assembla.com/pylearn"

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   #10     code.test.test_rbm OK
#298.992s   #9      code.test.test_dbn OK
#268.901s   #8      code.test.test_SdA OK
#67.292s    #7      code.test.test_dA OK
#27.485s    #5      code.test.test_mlp OK
#26.204s    #6      code.test.test_convolutional_mlp OK
#14.676s    #4      code.test.test_logistic_cg OK
#10.66s     #3      code.test.test_logistic_sgd OK
#5.795s     #1      code.mcrbm.test_hmc.test_hmc OK
#0.0s       #2      code.mcrbm.test_mcrbm.test_reproduce_ranzato_hinton_2010 FAILED TEST

script:
  - cd data
  - ./download.sh
  - ls
  - cd ../code
{'fraction_non_alphanumeric': 0.12364425162689804, 'fraction_numerical': 0.05020142547257515, 'mean_word_length': 2.960736196319018, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3564433', 'n_tokens_mistral': 1421, 'n_tokens_neox': 1322, 'n_words': 302}