<commit_before>language: go

go:
  #- 1.5.2
  #- 1.6.1
  - 1.7.x
  - 1.8.x
  - tip

#addons:
#  firefox: 53.0.3 #latest

env:
  global:
    - DISPLAY=:99.0
  matrix:
    - FIREFOX_VERSION=53.0.3
    - FIREFOX_VERSION=54.0.1
    #- FIREFOX_VERSION=51.0
    #- FIREFOX_VERSION=50.0

matrix:
  fast_finish: true
  allow_failures:
  #  env: FIREFOX_VERSION=52.0 # ff is seg faulting on start with current travis env
  #  env: FIREFOX_VERSION=51.0 # ff bug on getPage()
    env: FIREFOX_VERSION=54.0.1

before_install:
  - go get github.com/axw/gocov/gocov
  - go get github.com/mattn/goveralls
  - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
  - sh -e /etc/init.d/xvfb start

install:
  - export FIREFOX_SOURCE_URL="https://download.mozilla.org/?product=firefox-$FIREFOX_VERSION&lang=en-US&os=linux64"
  - wget -O /tmp/firefox.tar.bz2 $FIREFOX_SOURCE_URL
  - mkdir -p $HOME/firefox
  - tar -jvxf /tmp/firefox.tar.bz2 -C $HOME/

before_script:
  - $HOME/firefox/firefox --version<commit_msg>added ff 55 and 57.0.1 to travis matrix<commit_after>language: go

go:
  #- 1.5.2
  #- 1.6.1
  - 1.7.x
  - 1.8.x
  - tip

#addons:
#  firefox: 53.0.3 #latest

env:
  global:
    - DISPLAY=:99.0
  matrix:
    - FIREFOX_VERSION=53.0.3
    - FIREFOX_VERSION=54.0.1
    - FIREFOX_VERSION=55.0
    - FIREFOX_VERSION=57.0.1

matrix:
  fast_finish: true
  allow_failures:
  #  env: FIREFOX_VERSION=52.0 # ff is seg faulting on start with current travis env
  #  env: FIREFOX_VERSION=51.0 # ff bug on getPage()
    env: FIREFOX_VERSION=54.0.1
    env: FIREFOX_VERSION=57.0.1

before_install:
  - go get github.com/axw/gocov/gocov
  - go get github.com/mattn/goveralls
  - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
  - sh -e /etc/init.d/xvfb start

install:
  - export FIREFOX_SOURCE_URL="https://download.mozilla.org/?product=firefox-$FIREFOX_VERSION&lang=en-US&os=linux64"
  - wget -O /tmp/firefox.tar.bz2 $FIREFOX_SOURCE_URL
  - mkdir -p $HOME/firefox
  - tar -jvxf /tmp/firefox.tar.bz2 -C $HOME/

before_script:
  - $HOME/firefox/firefox --version
{'fraction_non_alphanumeric': 0.14118198874296436, 'fraction_numerical': 0.0473733583489681, 'mean_word_length': 2.829443447037702, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '43388', 'n_tokens_mistral': 1009, 'n_tokens_neox': 956, 'n_words': 172}