mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
This PR removes the Python 3.4 tox task and updates references in the code to Python 3.5+. tox complains about Python 3.4, which is EOL after next month: > py34 installed: DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
32 lines
544 B
YAML
32 lines
544 B
YAML
language: python
|
|
python:
|
|
- "3.5"
|
|
env:
|
|
- TOX_ENV=docs
|
|
- TOX_ENV=flake8
|
|
- TOX_ENV=py27
|
|
- TOX_ENV=py35
|
|
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
|