<commit_before>language: perl
perl: 5.19

before_install:
  - sudo apt-get install libluajit-5.1-dev libluajit-5.1.2

install:
  - mkdir ./vendor && cd ./vendor

  - wget http://nginx.org/download/nginx-1.6.0.tar.gz && tar -xf nginx-1.6.0.tar.gz
  - wget https://github.com/openresty/lua-nginx-module/archive/v0.9.7.tar.gz -O lua-nginx-module-0.9.7.tar.gz && tar -xf lua-nginx-module-0.9.7.tar.gz
  - wget https://github.com/simpl/ngx_devel_kit/archive/v0.2.19.tar.gz -O ngx-devel-kit-0.2.19.tar.gz && tar -xf ngx-devel-kit-0.2.19.tar.gz
  - git clone https://github.com/hcatlin/libsass.git --recursive

  - cd ./libsass
  - sudo make install
  - sudo make install-shared
  - sudo ldconfig
  - sudo cp sass.h /usr/include/
  - sudo cp sass_interface.h /usr/include/
  - sudo mkdir /usr/include/sass2scss
  - sudo cp sass2scss/sass2scss.h /usr/include/sass2scss/

  - cd ../nginx-1.6.0
  - export LUAJIT_LIB=/usr/lib/x86_64-linux-gnu/
  - export LUAJIT_INC=/usr/include/luajit-2.0/
  - ./configure --add-module=../ngx_devel_kit-0.2.19 --add-module=../lua-nginx-module-0.9.7 --add-module=../../
  - sudo make install
  - PATH="$PATH:/usr/local/nginx/sbin"

  - cpanm --installdeps --notest Test::Nginx

script: ./prove<commit_msg>fixes travis prove command<commit_after>language: perl
perl: 5.19

before_install:
  - sudo apt-get install libluajit-5.1-dev libluajit-5.1.2

install:
  - mkdir ./vendor && cd ./vendor

  - wget http://nginx.org/download/nginx-1.6.0.tar.gz && tar -xf nginx-1.6.0.tar.gz
  - wget https://github.com/openresty/lua-nginx-module/archive/v0.9.7.tar.gz -O lua-nginx-module-0.9.7.tar.gz && tar -xf lua-nginx-module-0.9.7.tar.gz
  - wget https://github.com/simpl/ngx_devel_kit/archive/v0.2.19.tar.gz -O ngx-devel-kit-0.2.19.tar.gz && tar -xf ngx-devel-kit-0.2.19.tar.gz
  - git clone https://github.com/hcatlin/libsass.git --recursive

  - cd ./libsass
  - sudo make install
  - sudo make install-shared
  - sudo ldconfig
  - sudo cp sass.h /usr/include/
  - sudo cp sass_interface.h /usr/include/
  - sudo mkdir /usr/include/sass2scss
  - sudo cp sass2scss/sass2scss.h /usr/include/sass2scss/

  - cd ../nginx-1.6.0
  - export LUAJIT_LIB=/usr/lib/x86_64-linux-gnu/
  - export LUAJIT_INC=/usr/include/luajit-2.0/
  - ./configure --add-module=../ngx_devel_kit-0.2.19 --add-module=../lua-nginx-module-0.9.7 --add-module=../../
  - sudo make install
  - PATH="$PATH:/usr/local/nginx/sbin"

  - cpanm --installdeps --notest Test::Nginx

script: prove
{'fraction_non_alphanumeric': 0.18078638021888935, 'fraction_numerical': 0.04458856911228212, 'mean_word_length': 2.535816618911175, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '3540164', 'n_tokens_mistral': 1146, 'n_tokens_neox': 1062, 'n_words': 168}