<commit_before>language: cpp

before_install:
  #- sh ./install-ubuntu.sh
  - # Script for Ubuntu 14.04
  - # Install miscellaneous libraries
  - sudo apt-get -y install g++ gfortran f2c libf2c2-dev libf2c2 libblas-dev libopenblas-base libopenblas-dev libblas3gf libatlas-base-dev liblapack-dev liblapack3gf
  - # Download and install Ipopt, Metis and Mumps
  - mkdir $HOME/Downloads
  - cd $HOME/Downloads
  - wget --continue http://www.coin-or.org/download/source/Ipopt/Ipopt-3.12.3.tgz
  - cd $HOME
  - tar xzvf ./Downloads/Ipopt-3.12.3.tgz
  - cd $HOME/Ipopt-3.12.3/ThirdParty/Metis
  - ./get.Metis
  - cd $HOME/Ipopt-3.12.3/ThirdParty/Mumps
  - ./get.Mumps
  - cd $HOME/Ipopt-3.12.3
  - ./configure --enable-static coin_skip_warn_cxxflags=yes
  - make -j4 > /dev/null
  - make install > /dev/null
  - # Download and install ADOLC and ColPack
  - cd $HOME/Downloads
  - wget --continue www.coin-or.org/download/source/ADOL-C/ADOL-C-2.5.2.tgz
  - cd $HOME
  - tar zxvf ./Downloads/ADOL-C-2.5.2.tgz
  - cd $HOME/ADOL-C-2.5.2
  - mkdir ./ThirdParty
  - cd ./ThirdParty
  - wget --continue http://cscapes.cs.purdue.edu/download/ColPack/ColPack-1.0.9.tar.gz
  - tar zxvf ColPack-1.0.9.tar.gz
  - mv ColPack-1.0.9 ColPack
  - cd ColPack
  - ./configure
  - make -j4 > /dev/null 
  - sudo make install > /dev/null 
  - sudo cp /usr/local/lib/libCol* /usr/lib
  - cd $HOME/ADOL-C-2.5.2
  - ./configure --enable-sparse --with-colpack=$HOME/ADOL-C-2.5.2/ThirdParty/ColPack
  - make -j4 > /dev/null 
  - make install > /dev/null 
  - sudo cp $HOME/adolc_base/lib64/*.a /usr/lib
  - sudo cp -r $HOME/adolc_base/include/* /usr/include/
  - # Download and install PDFlib
  - cd $HOME/Downloads
  - wget --continue http://www.pdflib.com/binaries/PDFlib/705/PDFlib-Lite-7.0.5p3.tar.gz
  - tar zxvf PDFlib-Lite-7.0.5p3.tar.gz
  - cd PDFlib-Lite-7.0.5p3 
  - ./configure
  - make -j4 > /dev/null 
  - sudo make install > /dev/null 
  - sudo ldconfig
  - # Download and install GNUplot
  - cd $HOME/Downloads
  - wget --continue http://sourceforge.net/projects/gnuplot/files/gnuplot/4.2.2/gnuplot-4.2.2.tar.gz/download
  - mv download gnuplot-4.2.2.tar.gz
  - tar zxvf gnuplot-4.2.2.tar.gz
  - sudo apt-get -y install libx11-dev libxt-dev libgd2-xpm-dev libreadline6-dev
  - cd gnuplot-4.2.2
  - ./configure -with-readline=gnu -without-tutorial
  - make -j4 > /dev/null 
  - sudo make install > /dev/null 
  - cd $TRAVIS_BUILD_DIR
  - # Download and extract SuiteSparse
  - wget --continue http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-4.4.3.tar.gz
  - tar zxvf SuiteSparse-4.4.3.tar.gz
  - cd $TRAVIS_BUILD_DIR
  - # Download and extract LUSOL
  - wget --continue http://www.stanford.edu/group/SOL/software/lusol/lusol.zip
  - unzip lusol.zip

install:
  - # Compile SuiteSparse, LUSOL, dmatrix and PSOPT
  - cd $TRAVIS_BUILD_DIR
  - make -j4 all<commit_msg>[travis] Non-verbose tar.<commit_after>language: cpp

before_install:
  #- sh ./install-ubuntu.sh
  - # Script for Ubuntu 14.04
  - # Install miscellaneous libraries
  - sudo apt-get -y install g++ gfortran f2c libf2c2-dev libf2c2 libblas-dev libopenblas-base libopenblas-dev libblas3gf libatlas-base-dev liblapack-dev liblapack3gf
  - # Download and install Ipopt, Metis and Mumps
  - mkdir $HOME/Downloads
  - cd $HOME/Downloads
  - wget --continue http://www.coin-or.org/download/source/Ipopt/Ipopt-3.12.3.tgz
  - cd $HOME
  - tar xzf ./Downloads/Ipopt-3.12.3.tgz
  - cd $HOME/Ipopt-3.12.3/ThirdParty/Metis
  - ./get.Metis
  - cd $HOME/Ipopt-3.12.3/ThirdParty/Mumps
  - ./get.Mumps
  - cd $HOME/Ipopt-3.12.3
  - ./configure --enable-static coin_skip_warn_cxxflags=yes
  - make -j4 > /dev/null
  - make install > /dev/null
  - # Download and install ADOLC and ColPack
  - cd $HOME/Downloads
  - wget --continue www.coin-or.org/download/source/ADOL-C/ADOL-C-2.5.2.tgz
  - cd $HOME
  - tar zxf ./Downloads/ADOL-C-2.5.2.tgz
  - cd $HOME/ADOL-C-2.5.2
  - mkdir ./ThirdParty
  - cd ./ThirdParty
  - wget --continue http://cscapes.cs.purdue.edu/download/ColPack/ColPack-1.0.9.tar.gz
  - tar zxf ColPack-1.0.9.tar.gz
  - mv ColPack-1.0.9 ColPack
  - cd ColPack
  - ./configure
  - make -j4 > /dev/null 
  - sudo make install > /dev/null 
  - sudo cp /usr/local/lib/libCol* /usr/lib
  - cd $HOME/ADOL-C-2.5.2
  - ./configure --enable-sparse --with-colpack=$HOME/ADOL-C-2.5.2/ThirdParty/ColPack
  - make -j4 > /dev/null 
  - make install > /dev/null 
  - sudo cp $HOME/adolc_base/lib64/*.a /usr/lib
  - sudo cp -r $HOME/adolc_base/include/* /usr/include/
  - # Download and install PDFlib
  - cd $HOME/Downloads
  - wget --continue http://www.pdflib.com/binaries/PDFlib/705/PDFlib-Lite-7.0.5p3.tar.gz
  - tar zxf PDFlib-Lite-7.0.5p3.tar.gz
  - cd PDFlib-Lite-7.0.5p3 
  - ./configure
  - make -j4 > /dev/null 
  - sudo make install > /dev/null 
  - sudo ldconfig
  - # Download and install GNUplot
  - cd $HOME/Downloads
  - wget --continue http://sourceforge.net/projects/gnuplot/files/gnuplot/4.2.2/gnuplot-4.2.2.tar.gz/download
  - mv download gnuplot-4.2.2.tar.gz
  - tar zxf gnuplot-4.2.2.tar.gz
  - sudo apt-get -y install libx11-dev libxt-dev libgd2-xpm-dev libreadline6-dev
  - cd gnuplot-4.2.2
  - ./configure -with-readline=gnu -without-tutorial
  - make -j4 > /dev/null 
  - sudo make install > /dev/null 
  - cd $TRAVIS_BUILD_DIR
  - # Download and extract SuiteSparse
  - wget --continue http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-4.4.3.tar.gz
  - tar zxf SuiteSparse-4.4.3.tar.gz
  - cd $TRAVIS_BUILD_DIR
  - # Download and extract LUSOL
  - wget --continue http://www.stanford.edu/group/SOL/software/lusol/lusol.zip
  - unzip lusol.zip

install:
  - # Compile SuiteSparse, LUSOL, dmatrix and PSOPT
  - cd $TRAVIS_BUILD_DIR
  - make -j4 all
{'fraction_non_alphanumeric': 0.15005246589716684, 'fraction_numerical': 0.0360265827212312, 'mean_word_length': 2.4431065623118604, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 36, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '165413', 'n_tokens_mistral': 2523, 'n_tokens_neox': 2404, 'n_words': 447}