forked from MolSSI/cookiecutter-cms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
51 lines (39 loc) · 1.16 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
environment:
matrix:
- PYTHON: "C:\\Miniconda36-x64"
LICENSE: 1
DEPEND_SOURCE: 1
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
WINDOWS: 1
- PYTHON: "C:\\Miniconda37-x64"
LICENSE: 2
DEPEND_SOURCE: 2
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
WINDOWS: 1
- PYTHON: "C:\\Python36-x64"
LICENSE: 1
DEPEND_SOURCE: 3
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
WINDOWS: 1
install:
# Install a few requirements
- pip install pyyaml cookiecutter
# Dont ask
- git config --global user.email "[email protected]"
- git config --global user.name "Cookie Monster"
- git config --global core.autocrlf true
# Build out the cookiecutter from settings
- python tests/setup_cookiecutter.py default_project %LICENSE% %DEPEND_SOURCE% %WINDOWS%
# Change into new project directory
- ps: cd default_project
# Run appveyor YAML
- python ../tests/run_yaml.py appveyor.yml install install.appveyor.bat
- .\install.appveyor.bat
build: false
test_script:
- pip install pyyaml
- python ../tests/run_yaml.py appveyor.yml test_script script.appveyor.bat
- .\script.appveyor.bat