mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Add Windows support to Travis
This commit is contained in:
parent
0da7ac677a
commit
fec6fb7263
1 changed files with 34 additions and 20 deletions
54
.travis.yml
54
.travis.yml
|
|
@ -1,26 +1,40 @@
|
|||
language: python
|
||||
python:
|
||||
- "3.5"
|
||||
env:
|
||||
- TOX_ENV=docs
|
||||
- TOX_ENV=flake8
|
||||
- TOX_ENV=py27
|
||||
- TOX_ENV=py34
|
||||
- TOX_ENV=py35
|
||||
matrix:
|
||||
include:
|
||||
- python: 3.6
|
||||
- os: linux
|
||||
language: python
|
||||
python:
|
||||
- 3.5
|
||||
env:
|
||||
- TOX_ENV=docs
|
||||
- TOX_ENV=flake8
|
||||
- TOX_ENV=py27
|
||||
- TOX_ENV=py34
|
||||
- TOX_ENV=py35
|
||||
- 3.6
|
||||
env:
|
||||
- TOX_ENV=py36
|
||||
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
|
||||
|
||||
- os: windows
|
||||
langauge: sh # python isn't yet "officially" supported on Windows
|
||||
env:
|
||||
- TOX_ENV=py36
|
||||
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
|
||||
- TOX_ENV=py27
|
||||
- TOX_ENV=py37
|
||||
before_install:
|
||||
- choco install pandoc
|
||||
- pip install tox==2.5.0
|
||||
|
||||
- allow_failures:
|
||||
- os: windows
|
||||
|
||||
script: tox -e $TOX_ENV
|
||||
|
||||
notifications:
|
||||
irc:
|
||||
channels:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue