Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlueBlock <danb@pobox.com>2019-07-31 20:15:49 +0300
committerBlueBlock <danb@pobox.com>2019-07-31 20:15:49 +0300
commit220b3c215c25841d8a6777be30fe5cc78c30ce6c (patch)
tree34ae03e4a588bc309579e1463cfd46d7c79bc112 /.appveyor.yml
parent5628637313b38e94f3fa79ee213da3d7718481dc (diff)
update the CI build tools
- appveyor config now handles if the repo name differs from 'duplicati' - travis sets vars to disable microsoft telemtry
Diffstat (limited to '.appveyor.yml')
-rw-r--r--.appveyor.yml21
1 files changed, 12 insertions, 9 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 7b33b5db2..4dc59d492 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -4,10 +4,13 @@ configuration: Debug
platform: Any CPU
environment:
AUTOUPDATER_Duplicati_SKIP_UPDATE: 1
- UNITTEST_BASEFOLDER: C:\projects\duplicati\testdata
COVERALLS_REPO_TOKEN:
secure: szQsrkP5rvra8L60SomD73/dFvRwot0UuyA566zqzI2qmLOr+MhLN0AyC8BTbhYY
before_build:
+ - ps: $env:UNITTEST_BASEFOLDER = "$Env:APPVEYOR_BUILD_FOLDER" + "\testdata"
+ - ps: if ($env:APPVEYOR_REPO_NAME.Equals("duplicati/duplicati")) {
+ $env:GITTER_NOTIFY_URL = "https://webhooks.gitter.im/e/a2c55bac2b5c38838e0f"
+ }
- cmd: nuget restore Duplicati.sln
build:
project: Duplicati.sln
@@ -19,9 +22,9 @@ test_script:
7z x DSMCBE.zip -otestdata
mkdir .\testData\data
- nuget install OpenCover -Version 4.6.166 -OutputDirectory packages
- nuget install coveralls.net -Version 0.6.0 -OutputDirectory packages
- nuget install NUnit.Runners -Version 3.4.0 -OutputDirectory packages
+ nuget install OpenCover -Version 4.7.922 -OutputDirectory packages
+ nuget install coveralls.net -Version 0.7.0 -OutputDirectory packages
+ nuget install NUnit.Runners -Version 3.10.0 -OutputDirectory packages
$testDir = ".\Duplicati\UnitTest\bin\Debug"
$tests = @("$testDir\Duplicati.UnitTest.dll")
@@ -30,10 +33,10 @@ test_script:
foreach ($elem in $tests) {
$testResultsFile = "$elem" + ".xml"
- .\packages\OpenCover.4.6.166\tools\OpenCover.Console.exe `
+ .\packages\OpenCover.4.7.922\tools\OpenCover.Console.exe `
-register:user `
- -target:.\packages\NUnit.ConsoleRunner.3.4.0\tools\nunit3-console.exe `
- "-targetargs:""$elem"" /framework:net-4.5 /where:cat!=BulkData /result:""$testResultsFile""" `
+ -target:.\packages\NUnit.ConsoleRunner.3.10.0\tools\nunit3-console.exe `
+ "-targetargs:""$elem"" /where:cat!=BulkData /result:""$testResultsFile""" `
"-filter:+[Duplicati.Library.Main]* -[UnitTest]*" `
-output:opencover.xml `
-returntargetcode `
@@ -54,7 +57,7 @@ test_script:
$commitEmail = git show --quiet --format="%aE" $revision
$commitMessage = git show --quiet --format="%s" $revision
- .\packages\coveralls.net.0.6.0\tools\csmacnz.Coveralls.exe `
+ .\packages\coveralls.net.0.7.0\tools\csmacnz.Coveralls.exe `
--opencover -i opencover.xml `
--repoToken "$Env:COVERALLS_REPO_TOKEN" `
--commitId "$revision" `
@@ -71,7 +74,7 @@ test_script:
}
notifications:
- provider: Webhook
- url: https://webhooks.gitter.im/e/a2c55bac2b5c38838e0f
+ url: $Env:GITTER_NOTIFY_URL
method: POST
on_build_success: true
on_build_failure: true