<commit_before>language: python
install: "pip install tox"
script: "tox -e $TRAVIS_BUILD"

matrix:
  allow_failures:
    - env: TRAVIS_BUILD=deploy
    - env: TRAVIS_BUILD=py36-dev
  fast_finish: true
  include:
    - env: TRAVIS_BUILD=coverage
      python: 3.5
      before_install: "pip install codecov"
      after_success: "codecov"
    - env: TRAVIS_BUILD=py36
      python: 3.6
    - env: TRAVIS_BUILD=py36-dev
      python: 3.6
    - env: TRAVIS_BUILD=lint
      python: 3.5
      dist: trusty
      sudo: false
      before_install: "nvm use stable"
      script: "make && make lint"
    - env: TRAVIS_BUILD=deploy
      python: 3.5
      dist: trusty
      sudo: required
      before_install: "sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils"
      install: |
        . $HOME/.nvm/nvm.sh
        nvm install stable
        nvm use stable
        pip install pyinstaller
        pip install -e .
      script: "make -C gui dist"
    - env: TRAVIS_BUILD=deploy
      language: node
      node_js: node
      os: osx
      install: |
        brew update
        brew outdated python || brew upgrade python
        pip install pyinstaller beancount
        pip install -e .
      script: "make -C gui dist"

cache:
  directories:
    - $HOME/.cache
    - $HOME/Library/Caches<commit_msg>travis: brew installed pip is back at pip3<commit_after>language: python
install: "pip install tox"
script: "tox -e $TRAVIS_BUILD"

matrix:
  allow_failures:
    - env: TRAVIS_BUILD=deploy
    - env: TRAVIS_BUILD=py36-dev
  fast_finish: true
  include:
    - env: TRAVIS_BUILD=coverage
      python: 3.5
      before_install: "pip install codecov"
      after_success: "codecov"
    - env: TRAVIS_BUILD=py36
      python: 3.6
    - env: TRAVIS_BUILD=py36-dev
      python: 3.6
    - env: TRAVIS_BUILD=lint
      python: 3.5
      dist: trusty
      sudo: false
      before_install: "nvm use stable"
      script: "make && make lint"
    - env: TRAVIS_BUILD=deploy
      python: 3.5
      dist: trusty
      sudo: required
      before_install: "sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils"
      install: |
        . $HOME/.nvm/nvm.sh
        nvm install stable
        nvm use stable
        pip install pyinstaller
        pip install -e .
      script: "make -C gui dist"
    - env: TRAVIS_BUILD=deploy
      language: node
      node_js: node
      os: osx
      install: |
        brew update
        brew outdated python || brew upgrade python
        pip3 install pyinstaller beancount
        pip3 install -e .
      script: "make -C gui dist"

cache:
  directories:
    - $HOME/.cache
    - $HOME/Library/Caches
{'fraction_non_alphanumeric': 0.08745813174544101, 'fraction_numerical': 0.013025679196129512, 'mean_word_length': 2.125581395348837, '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': '3767444', 'n_tokens_mistral': 933, 'n_tokens_neox': 879, 'n_words': 250}