<commit_before>language: go
sudo: required
dist: trusty

go:
  - 1.5

env:
  - DOCKER_TAG=$TRAVIS_TAG

before_install:
  - sudo apt-get update
  - sudo apt-get install -y librados-dev librbd-dev

install:
  - go get github.com/ceph/go-ceph
  - go get github.com/prometheus/client_golang/prometheus
  - go get golang.org/x/tools/cmd/cover
  - go get github.com/axw/gocov/gocov
  - go get github.com/modocache/gover
  - go get github.com/mattn/goveralls

script:
  - go test -coverprofile=collectors.coverprofile ./collectors
  - $HOME/gopath/bin/gover
  - $HOME/gopath/bin/goveralls -coverprofile=gover.coverprofile -service travis-ci

after_success:
  - export DOCKER_REPO="digitalocean/ceph_exporter"
  - if [ ! -z "$TRAVIS_TAG" ]; then
    docker build -t $DOCKER_REPO:$DOCKER_TAG .;
    docker tag $DOCKER_REPO:$DOCKER_TAG $DOCKER_REPO:latest;
    docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
    docker push $DOCKER_REPO;
    fi
<commit_msg>update travis go to 1.9.2<commit_after>language: go
sudo: required
dist: trusty

go:
  - 1.9.2

env:
  - DOCKER_TAG=$TRAVIS_TAG

before_install:
  - sudo apt-get update
  - sudo apt-get install -y librados-dev librbd-dev

install:
  - go get github.com/ceph/go-ceph
  - go get github.com/prometheus/client_golang/prometheus
  - go get golang.org/x/tools/cmd/cover
  - go get github.com/axw/gocov/gocov
  - go get github.com/modocache/gover
  - go get github.com/mattn/goveralls

script:
  - go test -coverprofile=collectors.coverprofile ./collectors
  - $HOME/gopath/bin/gover
  - $HOME/gopath/bin/goveralls -coverprofile=gover.coverprofile -service travis-ci

after_success:
  - export DOCKER_REPO="digitalocean/ceph_exporter"
  - if [ ! -z "$TRAVIS_TAG" ]; then
    docker build -t $DOCKER_REPO:$DOCKER_TAG .;
    docker tag $DOCKER_REPO:$DOCKER_TAG $DOCKER_REPO:latest;
    docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
    docker push $DOCKER_REPO;
    fi

{'fraction_non_alphanumeric': 0.11865284974093264, 'fraction_numerical': 0.004145077720207254, 'mean_word_length': 3.4906976744186045, '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': '442988', 'n_tokens_mistral': 817, 'n_tokens_neox': 771, 'n_words': 148}