forked from rdotnet/rdotnet
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
44 lines (34 loc) · 897 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
42
43
44
version: '{build}'
image:
- Visual Studio 2017
# - Visual Studio 2015
configuration: Debug
platform: Any CPU
environment:
PLATFORM: Any CPU
BuildPLATFORM: Any CPU
BuildConfiguration: Debug
configuration: Debug
branches:
only:
- devel
# Install R for windows.
# Borrowed from http://raw.github.com/krlmlr/r-appveyor
init:
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: InstallR
cache:
- C:\RLibrary
#############
build_script:
- cmd: >-
dotnet restore RDotNet.ns2.sln
dotnet build --configuration Debug --no-restore RDotNet.ns2.sln
test_script:
- cmd: >-
dotnet test RDotNet.Tests/RDotNet.Tests.csproj
dotnet test RDotNet.FSharp.Tests/RDotNet.FSharp.Tests.fsproj