wooyek/cookiecutter-django-app

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: python
sudo: false

python:
  - "3.5"
  - "3.4"
  - "2.7"

matrix:
    fast_finish: true
    allow_failures:
      - python: "2.7"


before_install:
  - python --version
  - uname -a
  - lsb_release -a
  - sudo apt-get install -y git-flow python-enchant

install:
  - pip install -U tox setuptools pip cookiecutter tox-travis
  - virtualenv --version
  - easy_install --version
  - pip --version
  - tox --version
  - git --version
  - python3 -m venv -h

script:
  # If test fail with vague messages, uncomment this and see generation log
  - cookiecutter --no-input .
  - tox -v

jobs:
  include:
    - stage: make
      script:
          - cookiecutter --no-input .
          - cd django-reusable-app
          - which python
          - ls -la .pyvenv/bin/
          - ls -la /home/travis/virtualenv/python3.5.3/bin
          - tox --version
          - pwd
          - ls -la
          - make
          - make bump
          - make lint
          - make test
          - make tox
          - make detox
          - make coverage
          - make dist
          - make install
          - make docs
          # Lint again after docs generation
          - make lint
          - make clean

after_success:
  - bash <(curl -s https://codecov.io/bash)

notifications:
  email:
    on_success: never
    on_failure: always