Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit01751aa

Browse files
committed
appveyor,#525: enable CYGWIN TCs without failing
1 parent90d6903 commit01751aa

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)

[8]ページ先頭

©2009-2025 Movatter.jp