<commit_before>language: go

go:
  - 1.7

before_install:
  - sudo apt-get -qq update
    ##
    # Travis is running `go test -v ./...`
    # and this runs tests in `vendor` directory also.
    # There is a lot of problems with running these 3rd party tests
    # (missing DB connections for DBs we do not use, etc).
    # Best is to remove vendoring and force Travis build upon $GOPATH
    # and then testing is done just for our current dir (Mainflux tests only)
    ##
  - rm -rf vendor

# Sudo is required for docker
sudo: required

# Enable docker
services:
  - docker

# In Travis, we need to bind to 127.0.0.1 in order to get a working connection. This environment variable
# tells dockertest to do that.
env:
  - DOCKERTEST_BIND_LOCALHOST=true
<commit_msg>Use Glide's novendor<commit_after>language: go

go:
  - 1.7

before_install:
  - sudo apt-get -qq update

script:
    go get -v ./...
    go test $(glide novendor)

# Sudo is required for docker
sudo: required

# Enable docker
services:
  - docker

# In Travis, we need to bind to 127.0.0.1 in order to get a working connection. This environment variable
# tells dockertest to do that.
env:
  - DOCKERTEST_BIND_LOCALHOST=true

{'fraction_non_alphanumeric': 0.07983193277310924, 'fraction_numerical': 0.014285714285714285, 'mean_word_length': 2.97, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '6903565', 'n_tokens_mistral': 404, 'n_tokens_neox': 378, 'n_words': 163}