forked from DOI-USGS/plio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
41 lines (34 loc) · 1011 Bytes
/
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
branches:
only:
- master
version: 1.2.0.{build}'
platform:
- x64
environment:
matrix:
- PYTHON: "C:\\Miniconda3-x64\\Scripts\\activate.bat"
PYTHON_VERSION: 3.6
- PYTHON: "C:\\Miniconda3-x64\\Scripts\\activate.bat"
PYTHON_VERSION: 3.7
- PYTHON: "C:\\Miniconda3-x64\\Scripts\\activate.bat"
PYTHON_VERSION: 3.8
configuration:
- Release
install:
- mkdir C:\Users\appveyor\.conda
- cmd: call %PYTHON%
- cmd: conda config --set always_yes yes --set changeps1 no
- cmd: conda update -q conda
- cmd: conda config --add channels conda-forge
- cmd: conda create -q -n test python=%PYTHON_VERSION%
- cmd: conda env update -n test -f environment.yml
- cmd: activate test
build_script:
- cmd: python setup.py install
test_script:
- cmd: pytest plio/
#on_success:
#- cmd: conda deactivate
#- cmd: conda install conda-build anaconda-client
#- cmd: conda config --set anaconda_upload yes
# - cmd: conda build --token %CONDA_UPLOAD_TOKEN% .