-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
41 lines (38 loc) · 1.47 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
#-------------------------------------------------------------------------------
# appveyor.yml
# Author: Alan D. Snow, 2017
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
#System specifications for Appveyor
#-------------------------------------------------------------------------------
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"
install:
- 'SET PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%'
- conda config --set always_yes yes
- conda update -q conda python
#-----------------------------------------------------------------------------
# Create conda environment for gazar
#-----------------------------------------------------------------------------
- conda create -n gazar python=%PYTHON_VERSION%
- activate gazar
- conda env update -n gazar -f conda_env.yml
# restart environment
- deactivate
- activate gazar
#-------------------------------------------------------------------------------
# Install gazar
#-------------------------------------------------------------------------------
- 'cd %APPVEYOR_BUILD_FOLDER%'
- pip install -e .[tests]
build: false
test_script:
- py.test --cov-report term-missing --cov=gazar
- flake8 --ignore=F401 gazar setup.py tests
- pylint gazar