Skip to content

Commit a11e768

Browse files
Attempt 6 to fix AppVeyor configuration
Error: The build phase is set to "MSBuild" mode (default), but no Visual Studio project or solution files were found in the root directory. If you are not building Visual Studio project switch build mode to "Script" and provide your custom build command.
1 parent 224b1da commit a11e768

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

appveyor.yml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
# - All section names are case-sensitive.
99
# - Section names should be unique on each level.
1010

11-
1211
# DO NOT CHANGE the "init" and "install" sections below
1312

1413
# Download script file from GitHub
@@ -17,25 +16,22 @@ init:
1716
$ErrorActionPreference = "Stop"
1817
Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
1918
Import-Module '..\appveyor-tool.ps1'
20-
Write-Host "Current Working Directory during init:" (Get-Location).Path
19+
- cmd: echo Current Working Directory during init: %CD%
2120

2221
install:
2322
ps: Bootstrap
2423

2524
cache:
2625
- C:\RLibrary
2726

28-
before_build:
29-
- cmd: ECHO Current Working Directory: %CD%
30-
- ps: Write-Host "Current Working Directory before build:" (Get-Location).Path
31-
- cmd: if exist C:\projects\plotbiomes\plotbiomes.Rproj del C:\projects\plotbiomes\plotbiomes.Rproj
32-
33-
# Adapt as necessary starting from here
34-
35-
build_script:
36-
- travis-tool.sh install_deps
27+
# Set the build mode to Script
28+
build:
29+
script:
30+
- echo Current Working Directory during build: %CD%
31+
- travis-tool.sh install_deps
3732

3833
test_script:
34+
- echo Current Working Directory during test: %CD%
3935
- travis-tool.sh run_tests
4036

4137
on_failure:
@@ -63,8 +59,3 @@ artifacts:
6359

6460
- path: '\*_*.zip'
6561
name: Bits
66-
67-
environment:
68-
matrix:
69-
exclude:
70-
- C:\projects\plotbiomes\plotbiomes.Rproj

0 commit comments

Comments
 (0)