Commented and fixed everything. Ready for pr

This commit is contained in:
Manuel Cortez 2018-09-18 21:29:42 -05:00
parent 6c29a4a18f
commit 8bac4b8ec6

View File

@ -1,7 +1,9 @@
pull_requests:
# Avoid building after pull requests. Shall we disable this option?
do_not_increment_build_number: true
#skip_non_tags: true
# Only build whenever we add tags to the repo.
skip_non_tags: true
environment:
@ -17,7 +19,6 @@ environment:
# PYTHON_VERSION: "2.7.x" # currently 2.7.9
# PYTHON_ARCH: "64"
# This is important so we will retrieve everything in submodules as opposed to default method.
clone_script:
- cmd: >-
@ -55,12 +56,17 @@ install:
- "%CMD_IN_ENV% pip install pyenchant"
build_script:
# Build documentation at first, so setup.py won't fail when copying everything.
- "cd doc"
# Import documentation before building, so strings.py will be created.
- "%CMD_IN_ENV% python documentation_importer.py"
# build doc from src folder so it will generate result files right there.
- "cd ..\\src"
- "%CMD_IN_ENV% python ..\\doc\\generator.py"
# Build distributable files.
- "%CMD_IN_ENV% python setup.py py2exe"
- "cd dist"
# Zip it all.
- cmd: 7z a ..\..\snapshot.zip *
artifacts: