-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
47 lines (43 loc) · 1.75 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#-------------------------------------------------------------------------------
# appveyor.yml
# Author: Alan D. Snow, 2017
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
#System specifications for Appveyor
#-------------------------------------------------------------------------------
#FROM: http://tjelvarolsson.com/blog/how-to-continuously-test-your-python-code-on-windows-using-appveyor/
# and on: https://github.com/DynamicDevices/mono/blob/master/appveyor.yml
environment:
matrix:
- PYTHON_VERSION: "2.7"
MINICONDA: "C:\\Miniconda-x64"
- PYTHON_VERSION: "3.5"
MINICONDA: "C:\\Miniconda3-x64"
- PYTHON_VERSION: "3.6"
MINICONDA: "C:\\Miniconda3-x64"
matrix:
allow_failures:
- PYTHON_VERSION: "3.5"
- PYTHON_VERSION: "3.6"
install:
- 'SET PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%'
- conda config --set always_yes yes
- conda update -q conda python
#-----------------------------------------------------------------------------
# Create conda environment for gsshapyorm
#-----------------------------------------------------------------------------
- conda create -n gsshapyorm python=%PYTHON_VERSION%
- activate gsshapyorm
- conda config --add channels conda-forge
- conda env update -n gsshapyorm -f conda_env.yml
# restart environment
- deactivate gsshapyorm
- activate gsshapyorm
#-------------------------------------------------------------------------------
# Install gsshapyorm
#-------------------------------------------------------------------------------
- 'cd %APPVEYOR_BUILD_FOLDER%'
- pip install -e .[tests]
build: false
test_script:
- py.test --cov-report term-missing --cov=gsshapyorm