<commit_before>language: go
go: 1.1

install:
  - go get bitbucket.org/liamstask/goose

env:
  - DB=postgres
  - DB=mysql
  - DB=sqlite

before_script: 
  - sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'create database golang_geo_test;' -U postgres; fi"
  - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database golang_geo_test;'; fi"
  - sh -c "if [ '$DB' = 'sqlite' ]; then sqlite3 golang_geo_test; fi"
  - sh -c "/home/travis/gopath/goose -path db/$DB up"

script: go test<commit_msg>[travis] Using bin directory for executable<commit_after>language: go
go: 1.1

install:
  - go get bitbucket.org/liamstask/goose

env:
  - DB=postgres
  - DB=mysql
  - DB=sqlite

before_script: 
  - sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'create database golang_geo_test;' -U postgres; fi"
  - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database golang_geo_test;'; fi"
  - sh -c "if [ '$DB' = 'sqlite' ]; then sqlite3 golang_geo_test; fi"
  - sh -c "/home/travis/gopath/bin/goose -path db/$DB up"

script: go test
{'fraction_non_alphanumeric': 0.16245136186770429, 'fraction_numerical': 0.005836575875486381, 'mean_word_length': 3.2, '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': '3767828', 'n_tokens_mistral': 424, 'n_tokens_neox': 418, 'n_words': 118}