forked from nglviewer/mdsrv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
68 lines (57 loc) · 2.04 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# modified from MDTraj appveyor
environment:
global:
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script intepreter
# See: http://stackoverflow.com/a/13751649/163740
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\develop\\appveyor-ci\\run_with_env.cmd"
PYTHONUNBUFFERED: 1
# BINSTAR_TOKEN:
# secure: LJUoqxkUbcJR0UnL2Ap7/dLquM6cX8i1JC0mXNvwXEbTTVW3C98qQ/JlJWzAYpoy
# BINSTAR_USER: "j0kaso"
BINSTAR_TOKEN:
secure: iG/R6JSE4NP4kGAKws0IDTnhB70bYlUI2FHnmPpH9FCOlEta6TXinmu76MSSW03W
BINSTAR_USER: "ngl"
matrix:
- PYTHON: "C:\\Miniconda"
CONDA_PY: "27"
- PYTHON: "C:\\Miniconda-x64"
CONDA_PY: "27"
ARCH: "64"
- PYTHON: "C:\\Miniconda3"
CONDA_PY: "34"
- PYTHON: "C:\\Miniconda3-x64"
CONDA_PY: "34"
ARCH: "64"
- PYTHON: "C:\\Miniconda3"
CONDA_PY: "35"
- PYTHON: "C:\\Miniconda3-x64"
CONDA_PY: "35"
ARCH: "64"
- PYTHON: "C:\\Miniconda3"
CONDA_PY: "36"
- PYTHON: "C:\\Miniconda3-x64"
CONDA_PY: "36"
ARCH: "64"
install:
- set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
- conda config --add channels conda-forge
- conda update -yq --all
- conda install -yq anaconda-client conda-build jinja2
- conda install python=%CONDA_PY:~0,1%.%CONDA_PY:~1,2% -y
# - python -E -V
- conda build --quiet develop\\conda-recipe
- conda install --use-local mdsrv -y
build: false
test_script:
- "%CMD_IN_ENV% mdsrv -h"
- "%CMD_IN_ENV% python develop\\test.py data\\md.xtc data\\md.gro"
deploy_script:
- echo "Starting Deployment"
# upload conda builds to conda cloud
- cmd: set PATH=%PYTHON%;%PYTHON%\Scripts;%PYTHON%\Library\bin;%PATH%
- echo %APPVEYOR_REPO_TAG%
- ps: If ($env:APPVEYOR_REPO_TAG -eq "true") { $env:conda_upload = 'true' } Else { write-output "Not on a tag, won't deploy to anaconda" }
- cmd: IF "%conda_upload%"=="true" anaconda -t %BINSTAR_TOKEN% upload %PYTHON%\\conda\\win-*\\*.tar.bz2 -u %BINSTAR_USER% --no-progress --force
notifications:
email: false