<commit_before>#created by <NAME> on Nov 10
# code below is taken from https://github.com/fchollet/keras/blob/master/.travis.yml
sudo: required
dist: trusty
language: python
python: # Only two versions for now
  - "2.7"
  - "3.4"
# command to install dependencies
install:
  - pip install numpy
  - pip install matplotlib
  # install TensorFlow from https://storage.googleapis.com/tensorflow/
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
      pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.9.0-cp27-none-linux_x86_64.whl;
    elif [[ "$TRAVIS_PYTHON_VERSION" == "3.4" ]]; then
      pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.9.0-cp34-cp34m-linux_x86_64.whl;
    fi
script:
  - sed -i -- 's/iterations = 5000/iterations = 5/g' linear_regression_14k.py # change iterations to 1 for quick testing
  - python linear_regression_14k.py # run this first to download MNIST file
  - sed -i -- 's/iterations = 1500/iterations = 5/g' prettytensor_test.py # change iterations to 1 for quick testing
  - python prettytensor_test.py # run prettytensor_test to confirm it's working as intended
  - echo DONE DONE DONE!<commit_msg>Added prettytensor to the installation script<commit_after>#created by <NAME> on Nov 10
# code below is taken from https://github.com/fchollet/keras/blob/master/.travis.yml
sudo: required
dist: trusty
language: python
python: # Only two versions for now
  - "2.7"
  - "3.4"
# command to install dependencies
install:
  - pip install numpy
  - pip install matplotlib
  # install TensorFlow from https://storage.googleapis.com/tensorflow/
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
      pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.9.0-cp27-none-linux_x86_64.whl;
    elif [[ "$TRAVIS_PYTHON_VERSION" == "3.4" ]]; then
      pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.9.0-cp34-cp34m-linux_x86_64.whl;
    fi
  - pip install prettytensor
script:
  - sed -i -- 's/iterations = 5000/iterations = 5/g' linear_regression_14k.py # change iterations to 1 for quick testing
  - python linear_regression_14k.py # run this first to download MNIST file
  - sed -i -- 's/iterations = 1500/iterations = 5/g' prettytensor_test.py # change iterations to 1 for quick testing
  - python prettytensor_test.py # run prettytensor_test to confirm it's working as intended
  - echo DONE DONE DONE!
{'fraction_non_alphanumeric': 0.11521115211152111, 'fraction_numerical': 0.03772037720377204, 'mean_word_length': 3.7013487475915223, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 8, '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': '2910739', 'n_tokens_mistral': 876, 'n_tokens_neox': 811, 'n_words': 219}