<commit_before>sudo: true
dist: trusty

language: node_js

node_js:
  - "6"

os:
  - osx
  - linux

before_install:
  - git clean -xdff
  - npm i -g yarn@latest
  - if [ $TRAVIS_OS_NAME == "linux" ]; then
      export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
      sh -e /etc/init.d/xvfb start;
      sleep 3;
    fi

env:
  - GOPATH=$TRAVIS_BUILD_DIR/test/server

install:
  - yarn

before_script:
  - node test/server/lfs-server.js

script:
  - echo $GOPATH
  - $TRAVIS_BUILD_DIR/test/server/run.sh<commit_msg>LFS server now on travis :)<commit_after>sudo: true
dist: trusty

language: node_js

node_js:
  - "6"

os:
  - osx
  - linux

before_install:
  - git clean -xdff
  - npm i -g yarn@latest
  - if [ $TRAVIS_OS_NAME == "linux" ]; then
      export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
      sh -e /etc/init.d/xvfb start;
      sleep 3;
    fi

env:
  - GOPATH=$TRAVIS_BUILD_DIR/test/server

install:
  - yarn

before_script:
  - node test/server/lfs-server.js

script:
  - $TRAVIS_BUILD_DIR/test/server/run.sh & yarn test
{'fraction_non_alphanumeric': 0.14396135265700483, 'fraction_numerical': 0.017391304347826087, 'mean_word_length': 2.58477508650519, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5845431', 'n_tokens_mistral': 472, 'n_tokens_neox': 452, 'n_words': 94}