forked from Open-Systems-Pharmacology/R-Toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
49 lines (36 loc) · 1.55 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
environment:
app_version: '7.2.0'
R_INSTALL_DIR: 'C:\ProgramData\R\'
R_TOOLS_INSTALL_DIR: 'C:\ProgramData\RTools\'
version: '%app_version%.{build}'
branches:
only:
- develop
skip_tags: true
skip_commits:
files:
- '*.md'
install:
- set PATH=C:\Ruby22\bin;%R_INSTALL_DIR%bin\i386;%R_TOOLS_INSTALL_DIR%bin;%PATH%
- git submodule update --init --recursive
- ps: >-
(new-object net.webclient).DownloadFile('https://cran.r-project.org/bin/windows/base/old/3.3.1/R-3.3.1-win.exe', 'C:\R.exe')
Start-Process C:\R.exe -ArgumentList /VERYSILENT, /DIR=$env:R_INSTALL_DIR -Wait
- ps: >-
(new-object net.webclient).DownloadFile(' https://cran.r-project.org/bin/windows/Rtools/Rtools33.exe', 'C:\\Rtools.exe')
Start-Process C:\Rtools.exe -ArgumentList /VERYSILENT, /DIR=$env:R_TOOLS_INSTALL_DIR -Wait
before_build:
- nuget sources add -name funcparser -source https://ci.appveyor.com/nuget/ospsuite-funcparser
- nuget sources add -name simmodel -source https://ci.appveyor.com/nuget/ospsuite-simmodel
- nuget sources add -name cvodes -source https://ci.appveyor.com/nuget/ospsuite-simmodel-solver-cvodes-282
- nuget restore -PackagesDirectory packages
build_script:
- rake "create_setup[%APPVEYOR_BUILD_VERSION%]"
- 7z a setup.zip %APPVEYOR_BUILD_FOLDER%\setup\deploy\*.msi
artifacts:
- path: '*.zip'
name: 'package'
notifications:
- provider: Slack
incoming_webhook:
secure: 4MH9Em6TtrKalq6808dhPOqypTfYBJvVlqPaa9akNyF1h7st5qNdNezFp6T+bWXqrcZ4q/smtPcJ7LkUFHL46JDYUFlIL8FDz+ApX/vP+x0=