diff options
| author | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-10-01 22:28:40 +0200 |
|---|---|---|
| committer | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-10-22 04:08:26 +0200 |
| commit | 6a217abbbf1673ab2e5794a3cc0bc151e16b9bc0 (patch) | |
| tree | 2eb94b759af7584026636b54ea4eb4c0fe7299bb | |
| parent | 38866bc7c4956170c681a62c4508f934ac826469 (diff) | |
| download | gitdb-6a217abbbf1673ab2e5794a3cc0bc151e16b9bc0.tar.gz | |
ci: Test on Appveyor for Windows.
| -rw-r--r-- | .appveyor.yml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..2daadaa --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,49 @@ +# CI on Windows via appveyor +environment: + + matrix: + ## MINGW + # + - PYTHON: "C:\\Python27" + PYTHON_VERSION: "2.7" + - PYTHON: "C:\\Python34-x64" + PYTHON_VERSION: "3.4" + - PYTHON: "C:\\Python35-x64" + PYTHON_VERSION: "3.5" + - PYTHON: "C:\\Miniconda35-x64" + PYTHON_VERSION: "3.5" + IS_CONDA: "yes" + +install: + - set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH% + + ## Print configuration for debugging. + # + - | + echo %PATH% + uname -a + where python pip pip2 pip3 pip34 + python --version + python -c "import struct; print(struct.calcsize('P') * 8)" + + - IF "%IS_CONDA%"=="yes" ( + conda info -a & + conda install --yes --quiet pip + ) + - pip install nose wheel coveralls + + ## For commits performed with the default user. + - | + git config --global user.email "travis@ci.com" + git config --global user.name "Travis Runner" + + - pip install -e . + +build: false + +test_script: + - IF "%PYTHON_VERSION%"=="3.5" ( + nosetests -v --with-coverage + ) ELSE ( + nosetests -v + ) |
