-
Notifications
You must be signed in to change notification settings - Fork 77
/
appveyor.yml
40 lines (33 loc) · 1.12 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
environment:
USE_RTOOLS: true
matrix:
- PYTHON: "C:\\Python37-x64"
R_VERSION: "3.6.3"
- PYTHON: "C:\\Python37-x64"
R_VERSION: "release"
- PYTHON: "C:\\Python37-x64"
R_VERSION: "devel"
# matrix:
# allow_failures:
# - R_VERSION: "devel"
init:
- ECHO %PYTHON%
# https://github.com/rstudio/reticulate/blob/master/appveyor.yml
- ps: |
$ErrorActionPreference = "Stop"
Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
Import-Module '..\appveyor-tool.ps1'
install:
- ps: Bootstrap
- R -e "install.packages('reticulate', repo = '"https://cloud.r-project.org"')"
- SET PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
- python -m pip install --upgrade setuptools pip
- python -m pip install -e .[test]
- python -m pip install jedi==0.17.2
build_script:
- pytest --coverage
- coverage combine
- python -m pip install codecov
- codecov
# on_failure:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))