aboutsummaryrefslogtreecommitdiff
path: root/.appveyor.yml
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2016-10-22 11:11:25 +0200
committerSebastian Thiel <byronimo@gmail.com>2016-10-22 11:11:25 +0200
commitcaa0ea7a0893fe90ea043843d4e6ad407126d7b8 (patch)
tree2f688eb182f2e76091134c47c4a327681c12e15b /.appveyor.yml
parentafcd64ebbb770908bd2a751279ff070dea5bb97c (diff)
parentcc77e6b2862733a211c55cf29cc7a83c36c27919 (diff)
downloadGitPython-caa0ea7a0893fe90ea043843d4e6ad407126d7b8.tar.gz
GitPython-caa0ea7a0893fe90ea043843d4e6ad407126d7b8.zip
Merge branch 'cygwin' of https://github.com/ankostis/GitPython into ankostis-cygwin
Diffstat (limited to '.appveyor.yml')
-rw-r--r--.appveyor.yml43
1 files changed, 24 insertions, 19 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 0e9a9473..701fc4ac 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,14 +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" (
- pip install mock
- )
+ - pip install -r test-requirements.txt
+ - pip install codecov
## Copied from `init-tests-after-clone.sh`.
#
@@ -79,7 +76,15 @@ install:
build: false
test_script:
- - IF "%PYTHON_VERSION%"=="3.5" (nosetests -v --with-coverage) ELSE (nosetests -v)
+ - IF "%IS_CYGWIN%" == "yes" (
+ nosetests -v
+ ) 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)