Skip to content

Commit ba7c2a0

Browse files
committed
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
1 parent e12ef59 commit ba7c2a0

File tree

1 file changed

+23
-16
lines changed

1 file changed

+23
-16
lines changed

.appveyor.yml

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,17 @@ environment:
2121
IS_CONDA: "yes"
2222
GIT_PATH: "%GIT_DAEMON_PATH%"
2323

24-
# ## Cygwin
25-
# #
26-
# - PYTHON: "C:\\Miniconda-x64"
27-
# PYTHON_VERSION: "2.7"
28-
# IS_CONDA: "yes"
29-
# GIT_PATH: "%CYGWIN_GIT_PATH%"
30-
# - PYTHON: "C:\\Python34-x64"
31-
# PYTHON_VERSION: "3.4"
32-
# GIT_PATH: "%CYGWIN_GIT_PATH%"
33-
# - PYTHON: "C:\\Python35-x64"
34-
# PYTHON_VERSION: "3.5"
35-
# GIT_PATH: "%CYGWIN64_GIT_PATH%"
24+
## Cygwin
25+
#
26+
- PYTHON: "C:\\Miniconda-x64"
27+
PYTHON_VERSION: "2.7"
28+
IS_CONDA: "yes"
29+
IS_CYGWIN: "yes"
30+
GIT_PATH: "%CYGWIN_GIT_PATH%"
31+
- PYTHON: "C:\\Python35-x64"
32+
PYTHON_VERSION: "3.5"
33+
GIT_PATH: "%CYGWIN64_GIT_PATH%"
34+
IS_CYGWIN: "yes"
3635

3736

3837
install:
@@ -48,12 +47,12 @@ install:
4847
python --version
4948
python -c "import struct; print(struct.calcsize('P') * 8)"
5049
51-
- IF "%IS_CONDA%"=="yes" (
50+
- IF "%IS_CONDA%" == "yes" (
5251
conda info -a &
5352
conda install --yes --quiet pip
5453
)
5554
- pip install nose ddt wheel codecov
56-
- IF "%PYTHON_VERSION%"=="2.7" (
55+
- IF "%PYTHON_VERSION%" == "2.7" (
5756
pip install mock
5857
)
5958

@@ -79,7 +78,15 @@ install:
7978
build: false
8079

8180
test_script:
82-
- IF "%PYTHON_VERSION%"=="3.5" (nosetests -v --with-coverage) ELSE (nosetests -v)
81+
- IF "%IS_CYGWIN%" == "yes" (
82+
nosetests -v || echo "Ignoring failures." & EXIT /B 0
83+
) ELSE (
84+
IF "%PYTHON_VERSION%" == "3.5" (
85+
nosetests -v --with-coverage
86+
) ELSE (
87+
nosetests -v
88+
)
89+
)
8390

8491
on_success:
85-
- IF "%PYTHON_VERSION%"=="3.5" (codecov)
92+
- IF "%PYTHON_VERSION%" == "3.5" IF NOT "%IS_CYGWIN%" == "yes" (codecov)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy