<commit_before>language: python

env:
    - TARGET=client
    - TARGET=server
    - TARGET=server_ldap
    - TARGET=e2e_chrome
    - TARGET=e2e_firefox

python:
    - "3.4"

node_js:
    - "0.10"

services:
    - mongodb
    - elasticsearch
    - redis-server

before_install:
    - if [ "${TARGET}" = "client" ] || [ "${TARGET}" != "${TARGET/e2e/}" ]; then
        npm install -g grunt-cli bower ;
      fi
    - if [ "${TARGET}" != "${TARGET/e2e/}" ]; then
        chromium-browser --version ;
        export CHROME_BIN=chromium-browser &&
        export DISPLAY=:99.0 &&
        /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1920x1080x16 ;
      fi

install:
    - if [ "${TARGET}" = "server" ] || [ "${TARGET}" = "server_ldap" ] || [ "${TARGET}" != "${TARGET/e2e/}" ]; then
        cd server &&
        pip install -r requirements.txt --use-mirrors &&
        cd .. ;
      fi
    - if [ "${TARGET}" = "client" ] || [ "${TARGET}" != "${TARGET/e2e/}" ]; then
        cd client && npm install && cd .. ;
      fi
    - if [ "${TARGET}" = "client" ] || [ "${TARGET}" != "${TARGET/e2e/}" ]; then
        cd client && bower install && cd .. ;
      fi
    - if [ "${TARGET}" != "${TARGET/e2e/}" ]; then
        (cd client && npm install "actionless/protractor#1.6.1-old" );
      fi

before_script:<commit_msg>chore(travis): install protractor only for chrome<commit_after>language: python

env:
    - TARGET=client
    - TARGET=server
    - TARGET=server_ldap
    - TARGET=e2e_chrome
    - TARGET=e2e_firefox

python:
    - "3.4"

node_js:
    - "0.10"

services:
    - mongodb
    - elasticsearch
    - redis-server

before_install:
    - if [ "${TARGET}" = "client" ] || [ "${TARGET}" != "${TARGET/e2e/}" ]; then
        npm install -g grunt-cli bower ;
      fi
    - if [ "${TARGET}" != "${TARGET/e2e/}" ]; then
        chromium-browser --version ;
        export CHROME_BIN=chromium-browser &&
        export DISPLAY=:99.0 &&
        /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1920x1080x16 ;
      fi

install:
    - if [ "${TARGET}" = "server" ] || [ "${TARGET}" = "server_ldap" ] || [ "${TARGET}" != "${TARGET/e2e/}" ]; then
        cd server &&
        pip install -r requirements.txt --use-mirrors &&
        cd .. ;
      fi
    - if [ "${TARGET}" = "client" ] || [ "${TARGET}" != "${TARGET/e2e/}" ]; then
        cd client && npm install && cd .. ;
      fi
    - if [ "${TARGET}" = "client" ] || [ "${TARGET}" != "${TARGET/e2e/}" ]; then
        cd client && bower install && cd .. ;
      fi
    - if [ "${TARGET}" = "e2e_chrome" ]; then
        (cd client && npm install "actionless/protractor#1.6.1-old" );
      fi

before_script:
{'fraction_non_alphanumeric': 0.19859402460456943, 'fraction_numerical': 0.02390158172231986, 'mean_word_length': 2.113785557986871, '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': '4636527', 'n_tokens_mistral': 1035, 'n_tokens_neox': 993, 'n_words': 218}