<commit_before><commit_msg>Add travis file<commit_after>language: go
sudo: false

go:
  - 1.8
  - tip

install:
  - go version
  - export GOBIN="$GOPATH/bin"
  - export PATH="$PATH:$GOBIN"
  - go get golang.org/x/tools/cmd/goimports
  - go build

script:
  - go vet
  - go test -v -race
  - go test -bench Insert
  - go test -bench Lookup
  - go test -bench Delete
  - diff <(GOPATH="$PWD:$PWD/vendor" goimports -d .) <(printf "")

{'fraction_non_alphanumeric': 0.14617169373549885, 'fraction_numerical': 0.004640371229698376, 'mean_word_length': 2.6610169491525424, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2787819', 'n_tokens_mistral': 178, 'n_tokens_neox': 171, 'n_words': 45}