From 9d1a17770b781abe287e1ff276e80c2958a5b4f6 Mon Sep 17 00:00:00 2001 From: Daniel Moody Date: Mon, 28 Jan 2019 17:09:06 -0600 Subject: remove user base install, add no progess for reliablity, set test envs to original plus 2.7 on 2015, add irc notification for codecov --- .appveyor.yml | 49 +++++++++++++++++-------------------------------- .codecov.yml | 10 ++++++++++ 2 files changed, 27 insertions(+), 32 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index d80bdb4..b8f0913 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -17,12 +17,11 @@ install: ### WINDOWS ### # add python and python user-base to path for pip installs - cmd: "C:\\%WINPYTHON%\\python.exe --version" - - cmd: for /F "tokens=*" %%g in ('C:\\%WINPYTHON%\\python.exe -m site --user-base') do (set PYUSERBASESITE=%%g) - cmd: for /F "tokens=*" %%g in ('C:\\%WINPYTHON%\\python.exe -m site --user-site') do (set PYSITEDIR=%%g) - - cmd: "set PATH=%PYUSERBASESITE%;%PYUSERBASESITE%\\%WINPYTHON%\\Scripts;%PYUSERBASESITE%\\Scripts;C:\\%WINPYTHON%;C:\\%WINPYTHON%\\Scripts;C:\\cygwin64\\bin;C:\\msys64;C:\\ProgramData\\chocolatey\\bin;%PATH%" - - cmd: "C:\\%WINPYTHON%\\python.exe -m pip install --user -U pip setuptools wheel" - - cmd: "C:\\%WINPYTHON%\\python.exe -m pip install --user -U pypiwin32 coverage codecov" - - cmd: set STATIC_DEPS=true & C:\\%WINPYTHON%\\python.exe -m pip install --user -U lxml + - cmd: "set PATH=C:\\%WINPYTHON%;C:\\%WINPYTHON%\\Scripts;C:\\cygwin64\\bin;C:\\msys64;C:\\ProgramData\\chocolatey\\bin;%PATH%" + - cmd: "C:\\%WINPYTHON%\\python.exe -m pip install -U --progress-bar off pip setuptools wheel " + - cmd: "C:\\%WINPYTHON%\\python.exe -m pip install -U --progress-bar off pypiwin32 coverage codecov" + - cmd: set STATIC_DEPS=true & C:\\%WINPYTHON%\\python.exe -m pip install -U --progress-bar off lxml # install 3rd party tools to test with - cmd: choco install --allow-empty-checksums dmd ldc swig vswhere xsltproc - cmd: set @@ -37,13 +36,10 @@ install: - sh: which python$PYTHON - sh: python$PYTHON --version - sh: export PYSITEDIR=$(python$PYTHON -m site --user-site) - - sh: python$PYTHON -m pip install --user -U pip setuptools wheel - - sh: python$PYTHON -m pip install --user -U coverage codecov - - sh: STATIC_DEPS=true python$PYTHON -m pip install --user -U lxml || true + - sh: python$PYTHON -m pip install --user -U --progress-bar off pip setuptools wheel + - sh: python$PYTHON -m pip install --user -U --progress-bar off coverage codecov + - sh: STATIC_DEPS=true python$PYTHON -m pip install --user -U --progress-bar off lxml - sh: ./.travis/install.sh - # workaround for https://github.com/codecov/codecov-python/pull/188 - - sh: export CI=True - - sh: export APPVEYOR=True - sh: printenv @@ -95,62 +91,52 @@ environment: PYTHON: "3.5" PYVER: 35 BUILD_JOB_NUM: 1 + COVERAGE: 0 - WINPYTHON: "Python35" PYTHON: "3.5" PYVER: 35 BUILD_JOB_NUM: 2 + COVERAGE: 0 - WINPYTHON: "Python35" PYTHON: "3.5" PYVER: 35 BUILD_JOB_NUM: 3 + COVERAGE: 0 - WINPYTHON: "Python35" PYTHON: "3.5" PYVER: 35 BUILD_JOB_NUM: 4 - - WINPYTHON: "Python35" - PYTHON: "3.5" - PYVER: 35 - BUILD_JOB_NUM: 1 + COVERAGE: 0 - WINPYTHON: "Python37" PYTHON: "3.7" PYVER: 37 BUILD_JOB_NUM: 1 - COVERAGE: 1 + COVERAGE: 0 - WINPYTHON: "Python37" PYTHON: "3.7" PYVER: 37 BUILD_JOB_NUM: 2 - COVERAGE: 1 + COVERAGE: 0 - WINPYTHON: "Python37" PYTHON: "3.7" PYVER: 37 BUILD_JOB_NUM: 3 - COVERAGE: 1 + COVERAGE: 0 - WINPYTHON: "Python37" PYTHON: "3.7" PYVER: 37 BUILD_JOB_NUM: 4 - COVERAGE: 1 + COVERAGE: 0 matrix: exclude: - # test python 2.7 on Visual Studio 2015 image - - image: Visual Studio 2015 - WINPYTHON: "Python37" + # test python 3.6 on Visual Studio 2015 image - image: Visual Studio 2015 - WINPYTHON: "Python36" + WINPYTHON: "Python37" - image: Visual Studio 2015 WINPYTHON: "Python35" - # test python 3.6 on Visual Studio 2017 image - - image: Visual Studio 2017 - WINPYTHON: "Python27" - - image: Visual Studio 2017 - WINPYTHON: "Python35" - - image: Visual Studio 2017 - WINPYTHON: "Python37" - # test python 3.7 on Ubuntu - image: Ubuntu WINPYTHON: "Python27" @@ -159,7 +145,6 @@ matrix: - image: Ubuntu WINPYTHON: "Python36" - before_build: - ps: | if ($isWindows) diff --git a/.codecov.yml b/.codecov.yml index 9ea78f5..375b10f 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -16,6 +16,16 @@ coverage: round: down range: "70...100" + notify: + irc: + default: + server: "chat.freenode.net#scons" + branches: master + threshold: null + message: "Coverage {{changed}} for {{owner}}/{{repo}}" # customize the message + flags: null + paths: null + status: project: default: -- cgit v0.12