<commit_before>language: go

go:
  - 1.4
  - tip

before_install:
  - go get golang.org/x/tools/cmd/cover
  - go get github.com/golang/lint/golint
  - go get github.com/smartystreets/goconvey/convey
  - go get github.com/smartystreets/assertions

script:
  - golint ./...
  - go test -cover ./...

notifications:
  slack: oursky:PxqsclRADehuWEs51vpgxeUh<commit_msg>Update travis script to create postgres database before running tests<commit_after>language: go

go:
  - 1.4
  - tip

addons:
  postgresql: "9.4"

before_install:
  - go get golang.org/x/tools/cmd/cover
  - go get github.com/golang/lint/golint
  - go get github.com/smartystreets/goconvey/convey
  - go get github.com/smartystreets/assertions

before_script:
  - psql -c 'CREATE DATABASE ourd_test;' -U postgres

script:
  - golint ./...
  - go test -cover ./...

notifications:
  slack: oursky:PxqsclRADehuWEs51vpgxeUh
{'fraction_non_alphanumeric': 0.11764705882352941, 'fraction_numerical': 0.011312217194570135, 'mean_word_length': 3.0596330275229358, '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': '6734560', 'n_tokens_mistral': 369, 'n_tokens_neox': 347, 'n_words': 71}