forked from iiasa/message_ix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
29 lines (24 loc) · 830 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
# Continuous integration procedure for AppVeyor
# Based on https://github.com/rmcgibbo/python-appveyor-conda-example
environment:
matrix:
- PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
init:
# Download and install the R Appveyor tool from
# https://github.com/krlmlr/r-appveyor
- ps: |
$ErrorActionPreference = "Stop"
$Tool = '..\appveyor-tool.ps1'
Start-FileDownload http://raw.githubusercontent.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -FileName $Tool
Import-Module $Tool
install:
# Install GAMS, update conda, and install Python and R dependencies
- ps: . .\ci\appveyor-install.ps1
# Install the Python package
- pip install --editable .[reporting,tests,tutorial]
build: false
test_script:
- pytest --verbose