<commit_before>language:
  - ruby
rvm:
  - 1.8.7
  - 1.9.2
  - 1.9.3
  - 2.0.0
  - 2.1.0
  - ruby-head
  - jruby-18mode
  - jruby-19mode
  - jruby-head
  - ree
script:
  - bundle exec rspec
  - '! bundle show rubocop || bundle exec rubocop' # run rubocop only if it is bundled
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq gifsicle jhead jpegoptim libjpeg-progs optipng pngcrush
  - npm install -g svgo
  - mkdir ~/bin
  # advancecomp(advpng):
  - ADVANCECOMP_VERSION=1.19
  - wget http://downloads.sourceforge.net/project/advancemame/advancecomp/$ADVANCECOMP_VERSION/advancecomp-$ADVANCECOMP_VERSION.tar.gz
  - tar -xzf advancecomp-$ADVANCECOMP_VERSION.tar.gz
  - (cd advancecomp-$ADVANCECOMP_VERSION && ./configure && make)
  - mv advancecomp-$ADVANCECOMP_VERSION/advpng ~/bin
  # pngquant:
  - git clone git://github.com/pornel/pngquant.git
  - pushd pngquant && git checkout $(git describe --tags --abbrev=0) && make && popd
  - mv pngquant/pngquant ~/bin
  # pngout:
  - wget http://static.jonof.id.au/dl/kenutils/pngout-20130221-linux.tar.gz
  - tar -xzf pngout-*-linux.tar.gz
  - mv pngout-*-linux/x86_64/pngout ~/bin
env:
  - PATH=~/bin:$PATH
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head<commit_msg>use subshell and cd when installing pngquant in travis script<commit_after>language:
  - ruby
rvm:
  - 1.8.7
  - 1.9.2
  - 1.9.3
  - 2.0.0
  - 2.1.0
  - ruby-head
  - jruby-18mode
  - jruby-19mode
  - jruby-head
  - ree
script:
  - bundle exec rspec
  - '! bundle show rubocop || bundle exec rubocop' # run rubocop only if it is bundled
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq gifsicle jhead jpegoptim libjpeg-progs optipng pngcrush
  - npm install -g svgo
  - mkdir ~/bin
  # advancecomp(advpng):
  - ADVANCECOMP_VERSION=1.19
  - wget http://downloads.sourceforge.net/project/advancemame/advancecomp/$ADVANCECOMP_VERSION/advancecomp-$ADVANCECOMP_VERSION.tar.gz
  - tar -xzf advancecomp-$ADVANCECOMP_VERSION.tar.gz
  - (cd advancecomp-$ADVANCECOMP_VERSION && ./configure && make)
  - mv advancecomp-$ADVANCECOMP_VERSION/advpng ~/bin
  # pngquant:
  - git clone git://github.com/pornel/pngquant.git
  - (cd pngquant && git checkout $(git describe --tags --abbrev=0) && make)
  - mv pngquant/pngquant ~/bin
  # pngout:
  - wget http://static.jonof.id.au/dl/kenutils/pngout-20130221-linux.tar.gz
  - tar -xzf pngout-*-linux.tar.gz
  - mv pngout-*-linux/x86_64/pngout ~/bin
env:
  - PATH=~/bin:$PATH
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
{'fraction_non_alphanumeric': 0.1354207436399217, 'fraction_numerical': 0.0273972602739726, 'mean_word_length': 2.8727272727272726, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '6661902', 'n_tokens_mistral': 1097, 'n_tokens_neox': 1010, 'n_words': 205}