<commit_before>language: go
before_install:
  - sudo apt-get update -qq > apt-get.out || (cat apt-get.out && exit 1)
  - sudo apt-get install bzr mercurial git libyaml-dev cmake -qq >> apt-get.out || (cat apt-get.out && exit 1)
install:
  - mkdir -p $GOPATH/src/github.com/globocom/tsuru
  - mv * $GOPATH/src/github.com/globocom/tsuru
  - pushd /tmp
  - curl -sLO https://github.com/downloads/kr/beanstalkd/beanstalkd-1.8.tar.gz
  - tar -xzf beanstalkd-1.8.tar.gz
  - pushd beanstalkd-1.8
  - make -j4 > make.out || (cat make.out && exit 1)
  - ./beanstalkd -l 127.0.0.1 -p 11300 &
  - sleep 3
  - nc -z 127.0.0.1 11300
  - popd
  - popd
  - pushd $GOPATH/src/github.com/globocom/tsuru
  - make get-test
before_script:
  - pushd $GOPATH/src/github.com/globocom/tsuru
  - ./check-fmt.sh
  - misc/check-license.sh
  - make get-prod
script:
  - pushd $GOPATH/src/github.com/globocom/tsuru
  - make test
notifications:
  irc:
    channels:
      - "irc.freenode.net#tsuru"
    on_success: change
    on_failure: always
  email:<commit_msg>.travis.yml: check license before moving source<commit_after>language: go
before_install:
  - sudo apt-get update -qq > apt-get.out || (cat apt-get.out && exit 1)
  - sudo apt-get install bzr mercurial git libyaml-dev cmake -qq >> apt-get.out || (cat apt-get.out && exit 1)
install:
  - misc/check-license.sh
  - mkdir -p $GOPATH/src/github.com/globocom/tsuru
  - mv * $GOPATH/src/github.com/globocom/tsuru
  - pushd /tmp
  - curl -sLO https://github.com/downloads/kr/beanstalkd/beanstalkd-1.8.tar.gz
  - tar -xzf beanstalkd-1.8.tar.gz
  - pushd beanstalkd-1.8
  - make -j4 > make.out || (cat make.out && exit 1)
  - ./beanstalkd -l 127.0.0.1 -p 11300 &
  - sleep 3
  - nc -z 127.0.0.1 11300
  - popd
  - popd
  - pushd $GOPATH/src/github.com/globocom/tsuru
  - make get-test
before_script:
  - pushd $GOPATH/src/github.com/globocom/tsuru
  - ./check-fmt.sh
  - make get-prod
script:
  - pushd $GOPATH/src/github.com/globocom/tsuru
  - make test
notifications:
  irc:
    channels:
      - "irc.freenode.net#tsuru"
    on_success: change
    on_failure: always
  email:
{'fraction_non_alphanumeric': 0.14781368821292776, 'fraction_numerical': 0.03136882129277566, 'mean_word_length': 2.5437710437710437, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2579809', 'n_tokens_mistral': 929, 'n_tokens_neox': 868, 'n_words': 178}