<commit_before>language: go

go_import_path: github.com/TheThingsNetwork/ttn

sudo: required

services:
    - docker

go:
    - "1.11"

install:
    - make deps
    - make cover-deps

before_script:
    - docker run -d -p 127.0.0.1:6379:6379 redis
    - docker run -d -p 127.0.0.1:5672:5672 -p 127.0.0.1:1883:1883 -p 127.0.0.1:8883:8883 -v $(pwd)/.env/mqtt:/var/lib/rabbitmq/tls -e RABBITMQ_SSL_CERTFILE=/var/lib/rabbitmq/tls/cert.pem -e RABBITMQ_SSL_KEYFILE=/var/lib/rabbitmq/tls/key.pem -e RABBITMQ_SSL_CACERTFILE=/var/lib/rabbitmq/tls/ca.pem thethingsnetwork/rabbitmq

script:
    - GOARCH=amd64 make test
    - GOARCH=386 make test
    - make fmt
    - make vet

after_success:
    - make coveralls<commit_msg>Update travis yml<commit_after>language: go

go_import_path: github.com/TheThingsNetwork/ttn

sudo: required

services:
    - docker

go:
    - "1.11.x"
    - "1.12.x"

env:
  global:
  - GOPROXY=https://proxy.golang.org
  - GO111MODULE=on

install:
    - make deps
    - make cover-deps

before_script:
    - docker run -d -p 127.0.0.1:6379:6379 redis
    - docker run -d -p 127.0.0.1:5672:5672 -p 127.0.0.1:1883:1883 -p 127.0.0.1:8883:8883 -v $(pwd)/.env/mqtt:/var/lib/rabbitmq/tls -e RABBITMQ_SSL_CERTFILE=/var/lib/rabbitmq/tls/cert.pem -e RABBITMQ_SSL_KEYFILE=/var/lib/rabbitmq/tls/key.pem -e RABBITMQ_SSL_CACERTFILE=/var/lib/rabbitmq/tls/ca.pem thethingsnetwork/rabbitmq

script:
    - GOARCH=amd64 make test
    - GOARCH=386 make test
    - make fmt
    - make vet

after_success:
    - make coveralls
{'fraction_non_alphanumeric': 0.13609467455621302, 'fraction_numerical': 0.0880999342537804, 'mean_word_length': 2.88265306122449, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 8, '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': '2910458', 'n_tokens_mistral': 761, 'n_tokens_neox': 650, 'n_words': 114}