Skip to content

Commit fcf8a42

Browse files
committed
appvayor, gitpython-developers#525: enable CYGWIN TCs without failing.
[travisci skip]
1 parent 90d6903 commit fcf8a42

File tree

1 file changed

+23
-16
lines changed

1 file changed

+23
-16
lines changed

.appveyor.yml

+23-16
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)