<commit_before>language: python

python:
  - 2.7

# sadly caches only work in travis docker containers (sudo-less)
cache:
  apt: true
  directories:
    - $HOME/.cache/pip
    - /home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages
    - /home/travis/virtualenv/python2.7.9/bin

addons:
  postgresql: 9.3

env:
  global:
    - PATH: "$HOME/interlis:$PATH"
    - CI=true
    - DJANGO_DEBUG=true
    - secure: "<KEY>

install:
  - pip install pybuilder > /dev/null
  - npm install -g npm@latest  > /dev/null
  - npm cache clean  > /dev/null
  - npm install -g bower grunt-cli  > /dev/null
  - npm install -g tsd@next  > /dev/null
  - wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
  - sudo apt-get install libfreetype6 libfreetype6-dev > /dev/null # pre-req matplotlib
  - sudo apt-get install libxml2-dev libxslt-dev python-dev > /dev/null # lxml
  - sudo apt-get install libxerces-c-dev libxerces-c3.1 -y
  - mkdir -p /home/travis/build/gdal
  - curl -L https://www.dropbox.com/s/qxnl7fftyj80zde/gdal-1.11.1-precise64.tar.gz?dl=1 -s -o - | tar xz -C /home/travis/build/gdal -f -
  - export PATH="/home/travis/build/gdal/bin:$PATH"
  - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/travis/build/gdal/lib"
  - export LIBRARY_PATH="$LIBRARY_PATH:/home/travis/build/gdal/lib"
  - export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/home/travis/build/gdal/pkgconfig"
  - export CPPPATH="$CPPPATH:/home/travis/build/gdal/include"
  - export CPATH="$CPATH:/home/travis/build/gdal/include"
<commit_msg>*try* to reduce travis build time<commit_after>language: python

python:
  - 2.7

# sadly caches only work in travis docker containers (sudo-less)
cache:
  apt: true
  directories:
    - $HOME/.cache/pip
    - /home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages
    - /home/travis/virtualenv/python2.7.9/bin

addons:
  postgresql: 9.3

env:
  global:
    - PATH: "$HOME/interlis:$PATH"
    - CI=true
    - DJANGO_DEBUG=true
    - secure: "<KEY>

install:
  - pip install pybuilder > /dev/null
  - npm install -g npm@latest  > /dev/null
  - npm cache clean  > /dev/null
  - npm install -g bower grunt-cli  > /dev/null
  - npm install -g tsd@next  > /dev/null
  - wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
  - sudo apt-get install libfreetype6 libfreetype6-dev > /dev/null # pre-req matplotlib
  - sudo apt-get install libxml2-dev libxslt-dev python-dev > /dev/null # lxml

  # Pre-compiled GDAL 1.11.1 because it takes too long otherwise
  - mkdir -p /home/travis/build/gdal
  - curl -L https://www.dropbox.com/s/qxnl7fftyj80zde/gdal-1.11.1-precise64.tar.gz?dl=1 -s -o - | tar xz -C /home/travis/build/gdal -f -
  - export PATH="/home/travis/build/gdal/bin:$PATH"
  - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/travis/build/gdal/lib"
  - export LIBRARY_PATH="$LIBRARY_PATH:/home/travis/build/gdal/lib"
  - export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/home/travis/build/gdal/pkgconfig"
  - export CPPPATH="$CPPPATH:/home/travis/build/gdal/include"
  - export CPATH="$CPATH:/home/travis/build/gdal/include"

{'fraction_non_alphanumeric': 0.14745484400656814, 'fraction_numerical': 0.01839080459770115, 'mean_word_length': 3.0184696569920844, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '42747', 'n_tokens_mistral': 1290, 'n_tokens_neox': 1232, 'n_words': 222}