pelican/.travis.yml
John Franey c01bc6eea5 Update Tox config and fix failing CI envs
Updates Python version for flake8 and docs Tox envs from 2.7 to 3.7.

Fixes a failing test and a linting error.
2019-05-13 18:58:52 -04:00

32 lines
544 B
YAML

language: python
python:
- "3.6"
env:
- TOX_ENV=docs
- TOX_ENV=flake8
- TOX_ENV=py27
- TOX_ENV=py37
matrix:
include:
- python: 3.6
env:
- TOX_ENV=py36
- python: 3.7
sudo: true
dist: xenial
env:
- TOX_ENV=py37
addons:
apt_packages:
- pandoc
before_install:
- sudo apt-get update -qq
- sudo locale-gen fr_FR.UTF-8 tr_TR.UTF-8
install:
- pip install tox==2.5.0
script: tox -e $TOX_ENV
notifications:
irc:
channels:
- "irc.freenode.org#pelican"
on_success: change