<commit_before>language: cpp

matrix:
  include:
    - os: linux
      dist: trusty
      sudo: required
      compiler: gcc
      env: JOBS=4
    - os: osx
      compiler: clang
      env: CPPFLAGS=-I/usr/local/opt/openblas/include JOBS=2

addons:
  apt:
    packages:
      - libboost-all-dev
      - gfortran
      - automake
      - autoconf
      - autoconf-archive
      - autotools-dev
      - libblas-dev
      - liblapack-dev
      - libsdl2-dev
      - libompl-dev
      - coinor-libclp-dev
      - libglpk-dev
      - libav-tools
      - doxygen
      - groff

install:
  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then
      ./install-apt.sh;
      if [ ! -e /usr/local/lib/libfcl.so ]; then
        wget -O - https://github.com/danfis/libccd/archive/v2.0.tar.gz | tar zxf - ;
        cd libccd-2.0;
        cmake .;
        make -j $JOBS && sudo make install;
        cd ..;
        wget -O - https://github.com/flexible-collision-library/fcl/archive/0.4.0.tar.gz | tar zxf - ;
        cd fcl-0.4.0;
        cmake .;
        make -j $JOBS && sudo make install;
        sudo ldconfig;
        cd ..;
      fi;
    fi;
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then
       brew update;
       brew tap homebrew/science;
       brew unlink libtool;
       brew install autoconf-archive openblas maxima sdl2 libtool ompl;
       brew install https://raw.github.com/dartsim/homebrew-dart/master/fcl.rb;
    fi

script:
  - autoreconf -i
  - ./configure
  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then
       make -k -j $JOBS distcheck;
    fi;
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then
       make -k -j $JOBS && make check;
    fi

cache:
  apt: true
  directories:
    - /usr/local

<commit_msg>Add Slack notification to Travis script<commit_after>language: cpp

matrix:
  include:
    - os: linux
      dist: trusty
      sudo: required
      compiler: gcc
      env: JOBS=4
    - os: osx
      compiler: clang
      env: CPPFLAGS=-I/usr/local/opt/openblas/include JOBS=2

addons:
  apt:
    packages:
      - libboost-all-dev
      - gfortran
      - automake
      - autoconf
      - autoconf-archive
      - autotools-dev
      - libblas-dev
      - liblapack-dev
      - libsdl2-dev
      - libompl-dev
      - coinor-libclp-dev
      - libglpk-dev
      - libav-tools
      - doxygen
      - groff

install:
  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then
      ./install-apt.sh;
      if [ ! -e /usr/local/lib/libfcl.so ]; then
        wget -O - https://github.com/danfis/libccd/archive/v2.0.tar.gz | tar zxf - ;
        cd libccd-2.0;
        cmake .;
        make -j $JOBS && sudo make install;
        cd ..;
        wget -O - https://github.com/flexible-collision-library/fcl/archive/0.4.0.tar.gz | tar zxf - ;
        cd fcl-0.4.0;
        cmake .;
        make -j $JOBS && sudo make install;
        sudo ldconfig;
        cd ..;
      fi;
    fi;
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then
       brew update;
       brew tap homebrew/science;
       brew unlink libtool;
       brew install autoconf-archive openblas maxima sdl2 libtool ompl;
       brew install https://raw.github.com/dartsim/homebrew-dart/master/fcl.rb;
    fi

script:
  - autoreconf -i
  - ./configure
  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then
       make -k -j $JOBS distcheck;
    fi;
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then
       make -k -j $JOBS && make check;
    fi

cache:
  apt: true
  directories:
    - /usr/local

notifications:
  slack:
    secure: <KEY>


{'fraction_non_alphanumeric': 0.1269887185420885, 'fraction_numerical': 0.00809950824414232, 'mean_word_length': 1.64575363427697, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '6454220', 'n_tokens_mistral': 1333, 'n_tokens_neox': 1298, 'n_words': 283}