<commit_before>language: node_js
node_js:
  - "4"
  - "6"
  - "7"

before_install:
  # setup apt package
  - sudo apt-get update
  - sudo apt-get install g++
  - sudo apt-get install zlib1g-dev
  # build kyotocabinet
  - wget http://fallabs.com/kyotocabinet/pkg/kyotocabinet-1.2.76.tar.gz
  - tar zxvf kyotocabinet-1.2.76.tar.gz
  - cd kyotocabinet-1.2.76
  - ./configure CXXFLAGS='-mno-avx'
  - make
  - sudo make install
  - cd -
  # build kyototycoon
  - wget http://fallabs.com/kyototycoon/pkg/kyototycoon-0.9.56.tar.gz
  - tar zxvf kyototycoon-0.9.56.tar.gz
  - cd kyototycoon-0.9.56
  - ./configure CXXFLAGS='-mno-avx'
  - make
  - sudo make install
  - cd -
  # setup library path
  - sudo sh -c "echo '/usr/local/lib' >> /etc/ld.so.conf.d/libc.conf"
  - sudo ldconfig
  # start kyototycoon
  - /usr/local/bin/ktserver -host localhost -port 1978 -dmn red#type=% blue#type=*

script:
  - npm run lint
  - npm test<commit_msg>Fixed ci<commit_after>language: node_js
node_js:
  - "4"
  - "6"
  - "7"

before_install:
  # setup apt package
  - sudo apt-get update
  - sudo apt-get install g++
  - sudo apt-get install zlib1g-dev
  # build kyotocabinet
  - wget http://fallabs.com/kyotocabinet/pkg/kyotocabinet-1.2.76.tar.gz
  - tar zxvf kyotocabinet-1.2.76.tar.gz
  - cd kyotocabinet-1.2.76
  - ./configure CXXFLAGS='-mno-avx'
  - make
  - sudo make install
  - cd -
  # build kyototycoon
  - wget http://fallabs.com/kyototycoon/pkg/kyototycoon-0.9.56.tar.gz
  - tar zxvf kyototycoon-0.9.56.tar.gz
  - cd kyototycoon-0.9.56
  - ./configure CXXFLAGS='-mno-avx'
  - make
  - sudo make install
  - cd -
  # setup library path
  - sudo sh -c "echo '/usr/local/lib' >> /etc/ld.so.conf.d/libc.conf"
  - sudo ldconfig
  # start kyototycoon
  - /usr/local/bin/ktserver -host localhost -port 1978 -dmn red#type=% blue#type=*

script:
  - npm run lint
{'fraction_non_alphanumeric': 0.14587852494577006, 'fraction_numerical': 0.03470715835140998, 'mean_word_length': 2.455056179775281, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '3127226', 'n_tokens_mistral': 872, 'n_tokens_neox': 816, 'n_words': 158}