pelican/.travis.yml
John Franey 9e07234bae Update Tox config and fix failing CI envs
Updates base Python version for Travis CI from 2.7 to 3.6 and fixes a
linting error.
2019-06-18 22:44:46 -04:00

32 lines
544 B
YAML

language: python
python:
- "3.6"
env:
- TOX_ENV=docs
- TOX_ENV=flake8
- TOX_ENV=py27
- TOX_ENV=py36
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