Skip to content

Commit 11c0ca9

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

File tree

1 file changed

+35
-28
lines changed

1 file changed

+35
-28
lines changed

.appveyor.yml

+35-28
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,33 @@ environment:
55
CYGWIN64_GIT_PATH: "C:\\cygwin64\\bin;%GIT_DAEMON_PATH%"
66

77
matrix:
8-
## MINGW
8+
# ## MINGW
9+
# #
10+
# - PYTHON: "C:\\Python27"
11+
# PYTHON_VERSION: "2.7"
12+
# GIT_PATH: "%GIT_DAEMON_PATH%"
13+
# - PYTHON: "C:\\Python34-x64"
14+
# PYTHON_VERSION: "3.4"
15+
# GIT_PATH: "%GIT_DAEMON_PATH%"
16+
# - PYTHON: "C:\\Python35-x64"
17+
# PYTHON_VERSION: "3.5"
18+
# GIT_PATH: "%GIT_DAEMON_PATH%"
19+
# - PYTHON: "C:\\Miniconda35-x64"
20+
# PYTHON_VERSION: "3.5"
21+
# IS_CONDA: "yes"
22+
# GIT_PATH: "%GIT_DAEMON_PATH%"
23+
24+
## Cygwin
925
#
10-
- PYTHON: "C:\\Python27"
26+
- PYTHON: "C:\\Miniconda-x64"
1127
PYTHON_VERSION: "2.7"
12-
GIT_PATH: "%GIT_DAEMON_PATH%"
13-
- PYTHON: "C:\\Python34-x64"
14-
PYTHON_VERSION: "3.4"
15-
GIT_PATH: "%GIT_DAEMON_PATH%"
28+
IS_CONDA: "yes"
29+
IS_CYGWIN: "yes"
30+
GIT_PATH: "%CYGWIN_GIT_PATH%"
1631
- PYTHON: "C:\\Python35-x64"
1732
PYTHON_VERSION: "3.5"
18-
GIT_PATH: "%GIT_DAEMON_PATH%"
19-
- PYTHON: "C:\\Miniconda35-x64"
20-
PYTHON_VERSION: "3.5"
21-
IS_CONDA: "yes"
22-
GIT_PATH: "%GIT_DAEMON_PATH%"
23-
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%"
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)