Skip to content
Permalink
Browse files

update CI python 3.7

  • Loading branch information...
sdpython committed Jul 22, 2018
1 parent 6a1edc9 commit fb8c4aa23829dee32a7afefbdc0270fdd7e1ef86
Showing with 15 additions and 13 deletions.
  1. +4 −4 .circleci/config.yml
  2. +2 −3 .local.jenkins.win.yml
  3. +3 −2 .travis.yml
  4. +2 −2 appveyor.yml
  5. +3 −1 build_script.bat
  6. +1 −1 setup.py
@@ -2,7 +2,7 @@ version: 2
jobs:
build:
docker:
- image: circleci/python:3.6.5
- image: circleci/python:3.7.0

working_directory: ~/repo

@@ -11,8 +11,8 @@ jobs:

- restore_cache:
keys:
- v1-dependencies-{{ checksum "requirements.txt" }}
- v1-dependencies-
- v2-dependencies-{{ checksum "requirements.txt" }}
- v2-dependencies-

- run:
name: Install pandoc
@@ -60,7 +60,7 @@ jobs:
- save_cache:
paths:
- ./venv
key: v1-dependencies-{{ checksum "requirements.txt" }}
key: v2-dependencies-{{ checksum "requirements.txt" }}

- run:
name: compile and build
@@ -2,8 +2,7 @@
language: python

python:
- { PATH: "{{replace(Python36, '\\', '\\\\')}}", VERSION: 3.6, DIST: std }
- { PATH: "{{replace(Anaconda3, '\\', '\\\\')}}", VERSION: 3.6, DIST: conda }
- { PATH: "{{replace(Python37, '\\', '\\\\')}}", VERSION: 3.7, DIST: std }

virtualenv:
- path: {{ospathjoin(root_path, pickname("%NAME_JENKINS%", project_name + "_%VERSION%_%DIST%_%NAME%"), "_venv")}}
@@ -20,7 +19,7 @@ script:
- { CMD: "python -u setup.py unittests", NAME: "UT" }
after_script:
- python -u setup.py bdist_wheel
- if [ ${DIST} != "conda" and ${VERSION} == "3.6" and ${NAME} == "UT" ] then copy dist\*.whl {{root_path}}\..\..\local_pypi\local_pypi_server fi
- if [ ${DIST} != "conda" and ${NAME} == "UT" ] then copy dist\*.whl {{root_path}}\..\..\local_pypi\local_pypi_server fi
documentation:
- if [ ${NAME} == "UT" ] then python -u setup.py build_sphinx fi
- if [ ${NAME} == "UT" ] then xcopy /E /C /I /Y _doc\sphinxdoc\build\html dist\html fi
@@ -1,7 +1,8 @@
dist: trusty
dist: xenial
sudo: true
language: python
python:
- "3.5"
- "3.7"
- "3.6"
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
@@ -8,8 +8,8 @@ environment:

matrix:

- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.x"
- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7.x"
PYTHON_ARCH: "64"

init:
@@ -5,7 +5,9 @@ set pythonexe="%1"
goto custom_python:

:default_value_python:
set pythonexe="c:\Python365_x64\python.exe"
set pythonexe="c:\Python370_x64\python.exe"
if not exist %pythonexe% set pythonexe="c:\Python366_x64\python.exe"
if not exist %pythonexe% set pythonexe="c:\Python365_x64\python.exe"
if not exist %pythonexe% set pythonexe="c:\Python364_x64\python.exe"
if not exist %pythonexe% set pythonexe="c:\Python363_x64\python.exe"
if not exist %pythonexe% set pythonexe="c:\Python36_x64\python.exe"
@@ -133,7 +133,7 @@ def write_version():
layout=["html"], github_owner="sdpython",
add_htmlhelp=sys.platform.startswith("win"),
coverage_options=dict(omit=["*exclude*.py"]),
fLOG=logging_function, covtoken=("f2a30eb6-439e-4a94-97e4-1eb48e40d3aa", "'_UT_36_std' in outfile"))
fLOG=logging_function, covtoken=("f2a30eb6-439e-4a94-97e4-1eb48e40d3aa", "'_UT_37_std' in outfile"))
if not r and not ({"bdist_msi", "sdist",
"bdist_wheel", "publish", "publish_doc", "register",
"upload_docs", "bdist_wininst", "build_ext"} & set(sys.argv)):

0 comments on commit fb8c4aa

Please sign in to comment.
You can’t perform that action at this time.