summaryrefslogtreecommitdiff
path: root/.appveyor.yml
diff options
context:
space:
mode:
authorKostis Anagnostopoulos <ankostis@gmail.com>2016-10-13 23:07:14 +0200
committerKostis Anagnostopoulos <ankostis@gmail.com>2016-10-14 17:43:17 +0200
commitba7c2a0f81f83c358ae256963da86f907ca7f13c (patch)
tree1b80cbbd62698d0ad06fbdac249090751de8322f /.appveyor.yml
parente12ef59c559e3be8fa4a65e17c9c764da535716e (diff)
downloadgitpython-ba7c2a0f81f83c358ae256963da86f907ca7f13c.tar.gz
appveyor, #533: enable CYGWIN TCs without failing
- Cygwin TCs failing (start, no Cygwin specific code): - PY2: err: 44, fail: 0 - PY3: err: 13, fail: 0
Diffstat (limited to '.appveyor.yml')
-rw-r--r--.appveyor.yml39
1 files changed, 23 insertions, 16 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 0e9a9473..1a38d185 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -21,18 +21,17 @@ environment:
IS_CONDA: "yes"
GIT_PATH: "%GIT_DAEMON_PATH%"
- # ## Cygwin
- # #
- # - PYTHON: "C:\\Miniconda-x64"
- # PYTHON_VERSION: "2.7"
- # IS_CONDA: "yes"
- # GIT_PATH: "%CYGWIN_GIT_PATH%"
- # - PYTHON: "C:\\Python34-x64"
- # PYTHON_VERSION: "3.4"
- # GIT_PATH: "%CYGWIN_GIT_PATH%"
- # - PYTHON: "C:\\Python35-x64"
- # PYTHON_VERSION: "3.5"
- # GIT_PATH: "%CYGWIN64_GIT_PATH%"
+ ## Cygwin
+ #
+ - PYTHON: "C:\\Miniconda-x64"
+ PYTHON_VERSION: "2.7"
+ IS_CONDA: "yes"
+ IS_CYGWIN: "yes"
+ GIT_PATH: "%CYGWIN_GIT_PATH%"
+ - PYTHON: "C:\\Python35-x64"
+ PYTHON_VERSION: "3.5"
+ GIT_PATH: "%CYGWIN64_GIT_PATH%"
+ IS_CYGWIN: "yes"
install:
@@ -48,12 +47,12 @@ install:
python --version
python -c "import struct; print(struct.calcsize('P') * 8)"
- - IF "%IS_CONDA%"=="yes" (
+ - IF "%IS_CONDA%" == "yes" (
conda info -a &
conda install --yes --quiet pip
)
- pip install nose ddt wheel codecov
- - IF "%PYTHON_VERSION%"=="2.7" (
+ - IF "%PYTHON_VERSION%" == "2.7" (
pip install mock
)
@@ -79,7 +78,15 @@ install:
build: false
test_script:
- - IF "%PYTHON_VERSION%"=="3.5" (nosetests -v --with-coverage) ELSE (nosetests -v)
+ - IF "%IS_CYGWIN%" == "yes" (
+ nosetests -v || echo "Ignoring failures." & EXIT /B 0
+ ) ELSE (
+ IF "%PYTHON_VERSION%" == "3.5" (
+ nosetests -v --with-coverage
+ ) ELSE (
+ nosetests -v
+ )
+ )
on_success:
- - IF "%PYTHON_VERSION%"=="3.5" (codecov)
+ - IF "%PYTHON_VERSION%" == "3.5" IF NOT "%IS_CYGWIN%" == "yes" (codecov)