Merge pull request #13 from nabobalis/master

Windows Fix and AppVeyor
This commit is contained in:
Nabil Freij 2018-03-05 09:34:54 +01:00 committed by GitHub
commit 7ea50034f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 65 additions and 3 deletions

View file

@ -10,7 +10,7 @@ from .post import (PostDirective, PostListDirective, UpdateDirective,
generate_archive_pages, generate_atom_feeds,
missing_reference)
__version__ = '0.9.1'
__version__ = '0.9.2'
__all__ = ['setup']

View file

@ -78,8 +78,8 @@ CONFIG = [
('fontawesome_included', False, True),
('fontawesome_css_file', '', True),
('post_date_format', '%-d %B %Y', True),
('post_date_format_short', '%-d %B', True),
('post_date_format', '%d %B %Y', True),
('post_date_format_short', '%d %B', True),
('post_auto_image', 0, True),
('post_auto_excerpt', 1, True),
('post_redirect_refresh', 5, True),

52
appveyor.yml Normal file
View file

@ -0,0 +1,52 @@
# AppVeyor.com is a Continuous Integration service to build and run tests under
# Windows
environment:
global:
PYTHON: "C:\\conda"
MINICONDA_VERSION: "latest"
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script intepreter
# See: http://stackoverflow.com/a/13751649/163740
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\ci-helpers\\appveyor\\windows_sdk.cmd"
CONDA_CHANNELS: "conda-forge"
CONDA_DEPENDENCIES: "sphinx werkzeug alabaster invoke graphviz"
PIP_DEPENDENCIES: "sphinx-automodapi"
matrix:
- PYTHON_VERSION: "2.7"
- PYTHON_VERSION: "3.5"
- PYTHON_VERSION: "3.6"
matrix:
fast_finish: true
platform:
- x64
install:
- "git clone git://github.com/astropy/ci-helpers.git"
- "powershell ci-helpers/appveyor/install-miniconda.ps1"
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "activate test"
- "pip install -e ."
# Not a .NET project, we build Ablog in the install step instead
build: false
test_script:
- ps: cd docs
- ablog build -T
- ablog build -b latex -T -d .doctrees -w _latex
- ablog build -T -b json
- ablog build -T -b pickle
# - ps: mkdir test
# - ps: cd test
# - ps: echo "ABlog" ABlog Team" "http://ablog.readthedocs.org" | ablog start
# - ablog build
# - ps: mkdir -p test
# - ps: cd test
# - ps: echo "ablog" "ABlog" "ABlog Team" "http://ablog.readthedocs.org" | ablog start
# - ps: cd ablog
# - ablog build

View file

@ -40,3 +40,13 @@ ABlog v0.9.1 released
:location: World
Minor update to remove Ablog{}.format(python_number) exes
ABlog v0.9.2 released
=====================
.. post:: March 4, 2018
:author: Nabil
:category: Release
:location: World
Fixed Windows String issue