<commit_before>sudo: required

services:
  - docker

language: go

go:
  - 1.7.3

install:
  - go get -u github.com/golang/lint/golint
  - sudo apt-get update
  - sudo apt-get install docker-engine
  - docker swarm init --advertise-addr 127.0.0.1
  - make install
  - amp platform pull
  - amp platform start

script:
  - make test

after_success:
  - if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
      docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" &&
      timeout 120 ./shrink.sh latest &&
      timeout 30 docker push appcelerator/amp:latest
    fi<commit_msg>fixes #484 (#486)<commit_after>sudo: required

services:
  - docker

language: go

go:
  - 1.7.3

install:
  - go get -u github.com/golang/lint/golint
  - sudo apt-get update
  - sudo apt-get install docker-engine
  - docker swarm init --advertise-addr 127.0.0.1
  - make install
  - amp platform pull
  - amp platform start

script:
  - make test

after_success:
  - if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
      docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" &&
      timeout 120 ./shrink.sh latest &&
      timeout 30 docker push appcelerator/amp:latest;
    fi
{'fraction_non_alphanumeric': 0.12937347436940602, 'fraction_numerical': 0.027664768104149716, 'mean_word_length': 2.8317757009345796, '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': '1004124', 'n_tokens_mistral': 497, 'n_tokens_neox': 440, 'n_words': 115}