<commit_before>sudo: required
dist: trusty

language: scala

before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3 # give xvfb some time to start
  # Instal google-chrome
  - export CHROME_BIN=/usr/bin/google-chrome
  - sudo apt-get update
  - sudo apt-get install -y libappindicator1 fonts-liberation
  - wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
  - sudo dpkg -i google-chrome*.deb
  # Install Selenium chromedriver
  - wget http://chromedriver.storage.googleapis.com/2.30/chromedriver_linux64.zip
  - unzip chromedriver_linux64.zip -d selenium-bin
  - export PATH=$PWD/selenium-bin:$PATH

script:
  - sbt ++$TRAVIS_SCALA_VERSION "set (UdashBuild.jsTestEnv in ThisBuild := new org.scalajs.jsenv.selenium.SeleniumJSEnv(org.scalajs.jsenv.selenium.Chrome().withChromeOptions({val options = new org.openqa.selenium.chrome.ChromeOptions(); options.addArguments(\"--headless --disable-gpu\"); options })))" $TEST_PACKAGE

jdk:
  - oraclejdk8

scala:
  - 2.11.11
  - 2.12.2

env:
  - TEST_PACKAGE="core-macros/test core-sharedJVM/test core-sharedJS/test core-frontend/test"
  - TEST_PACKAGE="rpc-macros/test rpc-sharedJVM/test rpc-sharedJS/test rpc-backend/test rpc-frontend/test"
  - TEST_PACKAGE="rest-macros/test rest-sharedJVM/test rest-sharedJS/test rest-backend/test"
  - TEST_PACKAGE="i18n-sharedJVM/test i18n-sharedJS/test i18n-backend/test i18n-frontend/test"
  - TEST_PACKAGE=bootstrap/test
  - TEST_PACKAGE=charts/test
  - TEST_PACKAGE="css-macros/test css-sharedJVM/test css-sharedJS/test css-backend/test css-frontend/test"<commit_msg>Travis Config - removed RPC macros<commit_after>sudo: required
dist: trusty

language: scala

before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3 # give xvfb some time to start
  # Instal google-chrome
  - export CHROME_BIN=/usr/bin/google-chrome
  - sudo apt-get update
  - sudo apt-get install -y libappindicator1 fonts-liberation
  - wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
  - sudo dpkg -i google-chrome*.deb
  # Install Selenium chromedriver
  - wget http://chromedriver.storage.googleapis.com/2.30/chromedriver_linux64.zip
  - unzip chromedriver_linux64.zip -d selenium-bin
  - export PATH=$PWD/selenium-bin:$PATH

script:
  - sbt ++$TRAVIS_SCALA_VERSION "set (UdashBuild.jsTestEnv in ThisBuild := new org.scalajs.jsenv.selenium.SeleniumJSEnv(org.scalajs.jsenv.selenium.Chrome().withChromeOptions({val options = new org.openqa.selenium.chrome.ChromeOptions(); options.addArguments(\"--headless --disable-gpu\"); options })))" $TEST_PACKAGE

jdk:
  - oraclejdk8

scala:
  - 2.11.11
  - 2.12.2

env:
  - TEST_PACKAGE="core-macros/test core-sharedJVM/test core-sharedJS/test core-frontend/test"
  - TEST_PACKAGE="rpc-sharedJVM/test rpc-sharedJS/test rpc-backend/test rpc-frontend/test"
  - TEST_PACKAGE="rest-macros/test rest-sharedJVM/test rest-sharedJS/test rest-backend/test"
  - TEST_PACKAGE="i18n-sharedJVM/test i18n-sharedJS/test i18n-backend/test i18n-frontend/test"
  - TEST_PACKAGE=bootstrap/test
  - TEST_PACKAGE=charts/test
  - TEST_PACKAGE="css-macros/test css-sharedJVM/test css-sharedJS/test css-backend/test css-frontend/test"
{'fraction_non_alphanumeric': 0.12828438948995363, 'fraction_numerical': 0.019783616692426585, 'mean_word_length': 4.120253164556962, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '283510', 'n_tokens_mistral': 1286, 'n_tokens_neox': 1205, 'n_words': 196}