Codebase list django-ipware / f97a5e89-1970-4470-95be-8cc8f8cff414/main .travis.yml
f97a5e89-1970-4470-95be-8cc8f8cff414/main

Tree @f97a5e89-1970-4470-95be-8cc8f8cff414/main (Download .tar.gz)

.travis.yml @f97a5e89-1970-4470-95be-8cc8f8cff414/mainraw · history · blame

sudo: false
language: python

python:
  - "3.7-dev"
  - "3.6"
  - "3.5"
  - "3.4"
  - "2.7"
  - "pypy"
  - "pypy3"

env:
  - DJANGO="django==2.0.4"
  - DJANGO="django==1.11.12"

install:
  - pip install $DJANGO
  - pip install -e .
  - pip install pycodestyle
  - pip install https://github.com/un33k/pyflakes/tarball/master
  - pip install coveralls

before_script:
  - "pycodestyle --exclude=migrations,tests --ignore=E501,E241,E225,E128 ."
  - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pyflakes -x W ipware; fi

matrix:
  exclude:
   - python: "2.7"
     env: DJANGO="django==2.0.4"
   - python: "pypy"
     env: DJANGO="django==2.0.4"

script: coverage run --source=ipware manage.py test

after_success:
  coveralls