dependencies:
  cache_directories:
    - ~/.pyenv/versions/3.4.3
    - ~/.pyenv/versions/3.5.1
    - ~/nltk_data
  pre:
    - sed -i '/source \/home\/ubuntu\/virtualenvs\//d' ~/.circlerc
    - nvm alias default node
  override:
    - bash .misc/deps.sh

test:
  override:
    - bash .misc/tests.sh:
        parallel: true
    - python setup.py install:
        parallel: true
    - pip install coala-bears colorama==0.3.6 --pre -U:
        parallel: true
        timeout: 900  # Allow 15 mins
    - coala-ci -L DEBUG:
        parallel: true
    - bash .misc/deploy.coverage.sh:
        parallel: true
    - rm -rf docs/API && make -C docs clean
    - sphinx-apidoc -f -o docs/API/ coalib
    - make -C docs html SPHINXOPTS=-W

dependencies:
  cache_directories:
    - ~/.pyenv/versions/3.4.3
    - ~/.pyenv/versions/3.5.1
    - ~/nltk_data
  pre:
    - sed -i '/source \/home\/ubuntu\/virtualenvs\//d' ~/.circlerc
    - nvm alias default node
  override:
    - bash .misc/deps.sh

test:
  override:
    - bash .misc/tests.sh:
        parallel: true
    - python setup.py install:
        parallel: true
    - pip install coala-bears colorama==0.3.6 --pre -U:
        parallel: true
        timeout: 900  # Allow 15 mins
    - coala-ci -V:
        parallel: true
    - bash .misc/deploy.coverage.sh:
        parallel: true
    - rm -rf docs/API && make -C docs clean
    - sphinx-apidoc -f -o docs/API/ coalib
    - make -C docs html SPHINXOPTS=-W

Use -V instead of -L DEBUG
Circle: Use -V instead of -L DEBUG
