<commit_before>env:
  - VERSION=1.${TRAVIS_BUILD_NUMBER}

sudo: required

services:
  - docker

script:
  - docker run --rm -v $PWD:/usr/src/myapp -w /usr/src/myapp -v go:/go golang:1.6 bash -c "cd /usr/src/myapp && go get -d -v -t && go test --cover -v ./... --run UnitTest && go build -v -o docker-flow-proxy"
  - docker build -t vfarcic/docker-flow-proxy .
  - docker-compose -f docker-compose-test.yml up -d staging-dep
  - docker-compose -f docker-compose-test.yml run --rm staging
  - docker-compose -f docker-compose-test.yml down

after_success:
  - docker tag vfarcic/docker-flow-proxy vfarcic/docker-flow-proxy:${VERSION}

branches:
  only:
    - master
<commit_msg>Removing Docker Machine from integration tests<commit_after>env:
  - VERSION=1.${TRAVIS_BUILD_NUMBER}

sudo: required

services:
  - docker

script:
  - docker run --rm -v $PWD:/usr/src/myapp -w /usr/src/myapp -v go:/go golang:1.6 bash -c "cd /usr/src/myapp && go get -d -v -t && go test --cover -v ./... --run UnitTest && go build -v -o docker-flow-proxy"
  - docker build -t vfarcic/docker-flow-proxy .
  - docker-compose -f docker-compose-test.yml up -d staging-dep
  - docker-compose -f docker-compose-test.yml run --rm staging
  - docker-compose -f docker-compose-test.yml down

after_success:
  - docker tag vfarcic/docker-flow-proxy vfarcic/docker-flow-proxy:${VERSION}

branches:
  only:
    - master
    - travis

{'fraction_non_alphanumeric': 0.14949928469241774, 'fraction_numerical': 0.004291845493562232, 'mean_word_length': 2.7506702412868633, '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': '42891', 'n_tokens_mistral': 577, 'n_tokens_neox': 531, 'n_words': 136}