<commit_before>sudo: required

language: java

jdk:
  - oraclejdk8

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - gcc-4.8
      - g++-4.8
      - python2.7
      - wget
      - pkg-config
      - zip
      - zlib1g-dev

env:
  - CC=gcc-4.8 CXX=g++-4.8

before_install:
  - wget http://download.savannah.gnu.org/releases/libunwind/libunwind-1.1.tar.gz
  - tar xvfz libunwind-1.1.tar.gz
  - cd libunwind-1.1 && ./configure && sudo make install
  - wget 'https://github.com/bazelbuild/bazel/releases/download/0.1.2/bazel-0.1.2-installer-linux-x86_64.sh'
  - chmod +x bazel-0.1.2-installer-linux-x86_64.sh
  - ./bazel-0.1.2-installer-linux-x86_64.sh --user

script: 
  - which gcc-4.8
  - gcc --version
  - which g++-4.8
  - g++ --version 
  - ./bazel_configure.py
  - bazel --bazelrc=tools/travis-ci/bazel.rc test --compiler=clang heron/...<commit_msg>move one directory up after libunwind is done<commit_after>sudo: required

language: java

jdk:
  - oraclejdk8

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - gcc-4.8
      - g++-4.8
      - python2.7
      - wget
      - pkg-config
      - zip
      - zlib1g-dev

env:
  - CC=gcc-4.8 CXX=g++-4.8

before_install:
  - wget http://download.savannah.gnu.org/releases/libunwind/libunwind-1.1.tar.gz
  - tar xvfz libunwind-1.1.tar.gz
  - cd libunwind-1.1 && ./configure && sudo make install && cd ..
  - wget 'https://github.com/bazelbuild/bazel/releases/download/0.1.2/bazel-0.1.2-installer-linux-x86_64.sh'
  - chmod +x bazel-0.1.2-installer-linux-x86_64.sh
  - ./bazel-0.1.2-installer-linux-x86_64.sh --user

script: 
  - which gcc-4.8
  - gcc --version
  - which g++-4.8
  - g++ --version 
  - ./bazel_configure.py
  - bazel --bazelrc=tools/travis-ci/bazel.rc test --compiler=clang heron/...
{'fraction_non_alphanumeric': 0.16675869685256764, 'fraction_numerical': 0.05080066261733849, 'mean_word_length': 2.0868824531516186, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2696369', 'n_tokens_mistral': 843, 'n_tokens_neox': 782, 'n_words': 117}