Skip to content
Permalink
Browse files

update CI

  • Loading branch information...
sdpython committed Jul 22, 2018
1 parent 47846bb commit 3b58313c59d5a420f1d43d88d5c59ffe9ad3fab9
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
@@ -59,7 +59,7 @@ jobs:
- save_cache:
paths:
- ./venv
key: v1-dependencies-{{ checksum "requirements.txt" }}
key: v2-dependencies-{{ checksum "requirements.txt" }}

- run:
name: run tests
@@ -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 -X faulthandler -X showrefcount -u setup.py unittests_SKIP", NAME: "UT_SKIP", TIMEOUT: 1500}
after_script:
- python 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.6"
- "3.7"
install:
- pip install -r requirements.txt
- pip install qgrid --upgrade --pre
@@ -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"
@@ -121,7 +121,7 @@ def write_version():
coverage_options=dict(
omit=["*Parser.py", "*Listener.py", "*Lexer.py"]),
github_owner='sdpython', fLOG=logging_function,
covtoken=("f929c9b3-bf00-4928-906a-b1dc54d5a5d9", "'_UT_36_std' in outfile"))
covtoken=("f929c9b3-bf00-4928-906a-b1dc54d5a5d9", "'_UT_37_std' in outfile"))
if not r and "update_grammars" in sys.argv:
# expecting python setup.py update_grammars file
ind = sys.argv.index("update_grammars")

0 comments on commit 3b58313

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