<commit_before>language: go
sudo: true
go:
    - tip
install:
    - go get -u github.com/fatih/structs
    - go get -u github.com/go-sql-driver/mysql
    - go get -u github.com/jmoiron/sqlx
    - go get -u github.com/lib/pq
    - go get -u github.com/mattn/go-sqlite3
    - go get -u github.com/serenize/snaker
    - go get -u github.com/stretchr/testify
    - go get golang.org/x/tools/cmd/cover
    - go get github.com/mattn/goveralls
script:
    - go test -v -covermode=count -coverprofile=coverage.out
    - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken 0yIEy3NVX2lXn3KxYzHjkla7EWGjvmLAp
before_script:
  - mysql -e 'create database IF NOT EXISTS qb_test;'
  - psql -c 'create database qb_test;' -U postgres
services:
  - mysql
  - postgresql
addons:
    postgresql: "9.5"
<commit_msg>retry fix travis postgres 9.5 build<commit_after>language: go

sudo: required

go:
    - tip

install:
    - go get -u github.com/fatih/structs
    - go get -u github.com/go-sql-driver/mysql
    - go get -u github.com/jmoiron/sqlx
    - go get -u github.com/lib/pq
    - go get -u github.com/mattn/go-sqlite3
    - go get -u github.com/serenize/snaker
    - go get -u github.com/stretchr/testify
    - go get golang.org/x/tools/cmd/cover
    - go get github.com/mattn/goveralls

script:
    - go test -v -covermode=count -coverprofile=coverage.out
    - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken 0yIEy3NVX2lXn3KxYzHjkla7EWGjvmLAp

services:
  - mysql

addons:
    apt:
        sources:
        - precise-pgdg-9.5
        packages:
        - postgresql-9.5
        - postgresql-contrib-9.5
    postgresql: 9.5

before_script:
  - mysql -e 'create database IF NOT EXISTS qb_test;'
  - sudo cp /etc/postgresql/9.4/main/pg_hba.conf /etc/postgresql/9.5/main/pg_hba.conf
  - sudo /etc/init.d/postgresql restart
  - psql -U postgres -c 'create database "qb_test";'
  - psql -U postgres travis-db-test -c 'create extension "uuid-ossp";'

{'fraction_non_alphanumeric': 0.11861861861861862, 'fraction_numerical': 0.014014014014014014, 'mean_word_length': 2.538053097345133, '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': '557307', 'n_tokens_mistral': 833, 'n_tokens_neox': 806, 'n_words': 173}