<commit_before>sudo: false

language: go
go:
  - 1.8.3

cache:
  directories:
    - "$HOME/go_appengine"

env:
  global:
    - PATH=${HOME}/go_appengine:${PATH}

before_install:
  - if [ ! `which goapp` ]; then
      wget -q https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.58.zip -O ${HOME}/go_appengine.zip;
      unzip -q -u -d ${HOME} ${HOME}/go_appengine.zip;
    fi
  - go get -u github.com/golang/dep/cmd/dep github.com/golang/lint/golint honnef.co/go/tools/cmd/staticcheck

install:
  - dep ensure -v

before_script:
  - go vet
  - golint
  - staticcheck

script:
  - go test -race -covermode=atomic -coverprofile=coverage.txt

after_success:
  - bash <(curl -s https://codecov.io/bash)<commit_msg>Edit .travis.yml<commit_after>sudo: false

language: go
go:
  - 1.8.3

cache:
  directories:
    - "$HOME/go_appengine"

env:
  global:
    - PATH=${HOME}/go_appengine:${PATH}

before_install:
  - if [ ! `which goapp` ]; then
      wget -q https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.56.zip -O ${HOME}/go_appengine.zip;
      unzip -q -u -d ${HOME} ${HOME}/go_appengine.zip;
    fi
  - go get -u github.com/golang/dep/cmd/dep github.com/golang/lint/golint honnef.co/go/tools/cmd/staticcheck

install:
  - dep ensure

before_script:
  - go vet
  - golint -set_exit_status=1
  - staticcheck

script:
  - /home/travis/go_appengine/goroot-1.8/bin/goapp test -covermode=atomic -coverprofile=coverage.txt .

after_success:
  - bash <(curl -s https://codecov.io/bash)
{'fraction_non_alphanumeric': 0.15041962556488056, 'fraction_numerical': 0.01355713363460297, 'mean_word_length': 3.1005291005291005, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '1240033', 'n_tokens_mistral': 648, 'n_tokens_neox': 614, 'n_words': 109}