<commit_before>dist: trusty
sudo: true

language: python
python:
  - '2.7'

env:
  global:
    - GETH_URL='https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.6.6-10a45cb5.tar.gz'
    - GETH_VERSION='1.6.6'
    - SOLC_URL='https://github.com/ethereum/solidity/releases/download/v0.4.13/solc-static-linux'
    - SOLC_VERSION='v0.4.13'
  matrix:
    - TEST_TYPE='unit'
    - TEST_TYPE='smart_contracts'
    - TEST_TYPE='property'
    - TEST_TYPE='long_running' BLOCKCHAIN_TYPE='--blockchain-type=tester'
    - TEST_TYPE='long_running' BLOCKCHAIN_TYPE='--blockchain-type=geth --blockchain-cache'
    - TEST_TYPE='integration' BLOCKCHAIN_TYPE='--blockchain-type=tester'
    - TEST_TYPE='integration' BLOCKCHAIN_TYPE='--blockchain-type=geth --blockchain-cache'
    - TEST_TYPE='api' BLOCKCHAIN_TYPE='--blockchain-type=tester'
    - TEST_TYPE='api' BLOCKCHAIN_TYPE='--blockchain-type=geth --blockchain-cache'
cache:
  pip: true
  directories:
    - $HOME/.cache/pip
    - $HOME/.ethash
    - $HOME/.bin

before_install:
  - mkdir -p $HOME/.bin
  - export PATH=$PATH:$HOME/.bin
  - ./.travis/download_geth.sh
  - ./.travis/download_solc.sh

install:
  - pip install -U pip wheel coveralls "coverage<4.4"
  - pip install pytest-travis-fold
  - pip install flake8
  - pip install -r requirements-dev.txt
  - pip install .

before_script:
  - flake8 raiden/ tools/
  - raiden smoketest

script:
  - coverage run -m py.test --travis-fold=always -vvvvvv --log-config='raiden:DEBUG' --random $BLOCKCHAIN_TYPE ./raiden/tests/$TEST_TYPE

after_success:
  - coveralls
  - make bundle

notifications:
  slack:
    secure: <KEY>
  webhooks:
  - secure: IXBsyQtH29Vkh+Pe2exrbE3L8FJMQFqJ8ZRxkACts7cQtB8Iz1vyjWg9nYE9ZuCj/JWEeMZd/09JvwwKUj8ZEzwj59gFwVQFwTAxJbiDLRsn7WpdI5Q2fQ9ZPZIAbPo/mJejeHC+z3d5U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eSglNoYh/0mChLARjIXyz3WcoiIzpaRL8wPot1aRe4np/Rg+6c6PLMNvIAjgvNAvRFHCwKWzYwFaHjmi7bgDS6dirWdFd+TjAXCb8HFq+m670a0GY7u5JgHrU30QcfbeXhFJBUaBFkvDpJw53JogURlL+Et9So5xcJjYsYocUtrZi6YZ58UUu8A7ZWF0DNk=
  on:
    tags: true
    distributions: sdist bdist_wheel
    repo: raiden-network/raiden
    branch: master
    python: 2.7
<commit_msg>Apply travis yml formatting<commit_after>dist: trusty
sudo: true

language: python
python:
- '2.7'
env:
  global:
  - GETH_URL='https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.6.6-10a45cb5.tar.gz'
  - GETH_VERSION='1.6.6'
  - SOLC_URL='https://github.com/ethereum/solidity/releases/download/v0.4.13/solc-static-linux'
  - SOLC_VERSION='v0.4.13'
  matrix:
  - TEST_TYPE='unit'
  - TEST_TYPE='smart_contracts'
  - TEST_TYPE='property'
  - TEST_TYPE='long_running' BLOCKCHAIN_TYPE='--blockchain-type=tester'
  - TEST_TYPE='long_running' BLOCKCHAIN_TYPE='--blockchain-type=geth --blockchain-cache'
  - TEST_TYPE='integration' BLOCKCHAIN_TYPE='--blockchain-type=tester'
  - TEST_TYPE='integration' BLOCKCHAIN_TYPE='--blockchain-type=geth --blockchain-cache'
  - TEST_TYPE='api' BLOCKCHAIN_TYPE='--blockchain-type=tester'
  - TEST_TYPE='api' BLOCKCHAIN_TYPE='--blockchain-type=geth --blockchain-cache'
cache:
  pip: true
  directories:
  - "$HOME/.cache/pip"
  - "$HOME/.ethash"
  - "$HOME/.bin"
before_install:
- mkdir -p $HOME/.bin
- export PATH=$PATH:$HOME/.bin
- "./.travis/download_geth.sh"
- "./.travis/download_solc.sh"
install:
- pip install -U pip wheel coveralls "coverage<4.4"
- pip install pytest-travis-fold
- pip install flake8
- pip install -r requirements-dev.txt
- pip install .
before_script:
- flake8 raiden/ tools/
- raiden smoketest
script:
- coverage run -m py.test --travis-fold=always -vvvvvv --log-config='raiden:DEBUG' --random $BLOCKCHAIN_TYPE ./raiden/tests/$TEST_TYPE
after_success:
- coveralls
- make bundle
notifications:
  slack:
    secure: Q8/<KEY>
  webhooks:
  - secure: IXBsyQtH29Vkh+Pe2exrbE3L8FJMQFqJ8ZRxkACts7cQtB8Iz1vyjWg9nYE9ZuCj/JWEeMZd/09JvwwKUj8ZEzwj59gFwVQFwTAxJbiDLRsn7WpdI5Q2fQ9ZPZIAbPo/mJejeHC+z3d5UgY72hbhqWuPJAa4ApWWKE5mPFUIr9uxgs01ReWs/y5HaPawQkSQAKVWWsS5R52Oyr9CYQNbfqfWcoLvzdiIZpsBi2r4ZK3NGrBZPGo4b+PkDkWjuBhMJ0FVABFCJT/bT2ORFsmsCDwZ4I3vOrKtJGDybmwONZqr0ymfYo1lbcUp0mE0zJ0ApyRtLqEFiTzaQqenlAZmBAtpDZVvpxFuDwZgFxafpNutO3Aj3Xbfe+aaooPfHA7SoxmxG/3gWY+OyaME8EDePfBHM0c1gGsNHmbPLt8k0lmwYKlNTFtFFyRAbL3700j19utkGroOK6CUYbed9YD96UehQTj7HN8rpLTZzSMh39c1JHVyqxsUZKkhQgY4GPgx2RAIiCVrwc6wN3Ebtwft0hA2UhvDodsc/qBAyz/YnSp2oKZKagLy5747torZybtNOGKCaV2fT3mSTxV2UNwPJ/N94dlTquJNx3StHT0IqD3Kfo5HYKJKHeri6lttTDul3rjAs1xxB2aAMutsyg7dRbBMmuKlK9gAtoS3UKthQdk=
deploy:
- provider: pypi
  user: raiden_pypi_automated
  password:
      <PASSWORD>: <KEY>
  on:
    tags: true
    distributions: sdist bdist_wheel
    repo: raiden-network/raiden
    branch: master
  python: 2.7

{'fraction_non_alphanumeric': 0.10443092962641182, 'fraction_numerical': 0.06133796698523023, 'mean_word_length': 5.716452742123687, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '43927', 'n_tokens_mistral': 3114, 'n_tokens_neox': 2942, 'n_words': 235}