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:
authorKenneth Hsu <kennethhsu@gmail.com>2021-02-06 21:54:25 +0300
committerKenneth Hsu <kennethhsu@gmail.com>2021-02-06 21:54:25 +0300
commitf18b1699a9337bd6defbd8b2838fa10299f13346 (patch)
tree61e5be571089a1e4be4a5c5768363b3d55ae0869
parentfcb3290afac4b34e67a25a95c5262af7c99be1b1 (diff)
Disable AppVeyor and Travis builds.
-rw-r--r--.appveyor.yml66
-rw-r--r--.travis.yml83
2 files changed, 0 insertions, 149 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
deleted file mode 100644
index a235a81dd..000000000
--- a/.appveyor.yml
+++ /dev/null
@@ -1,66 +0,0 @@
-version: 1.0.{build}
-image: Visual Studio 2017
-configuration: Debug
-platform: Any CPU
-environment:
- AUTOUPDATER_Duplicati_SKIP_UPDATE: 1
- COVERALLS_REPO_TOKEN:
- secure: szQsrkP5rvra8L60SomD73/dFvRwot0UuyA566zqzI2qmLOr+MhLN0AyC8BTbhYY
-before_build:
- - ps: $env:UNITTEST_BASEFOLDER = "$Env:APPVEYOR_BUILD_FOLDER" + "\testdata"
- - cmd: nuget restore Duplicati.sln
-build:
- project: Duplicati.sln
- verbosity: minimal
-test_script:
- - ps: |
- 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")
- $testsPassed = $true
-
- foreach ($elem in $tests) {
- $testResultsFile = "$elem" + ".xml"
-
- .\packages\OpenCover.4.7.922\tools\OpenCover.Console.exe `
- -register:user `
- -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 `
-
- # Keep track of test failures so that we can throw an exception after
- # uploading coverage and test results.
- $testsPassed = $testsPassed -and $?
-
- # Upload test results to AppVeyor.
- $wc = New-Object "System.Net.WebClient"
- $wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\""$testResultsFile""))
- }
-
- if ($Env:COVERALLS_REPO_TOKEN) {
- $revision = git rev-parse HEAD
- $branch = git rev-parse --abbrev-ref HEAD
- $commitAuthor = git show --quiet --format="%aN" $revision
- $commitEmail = git show --quiet --format="%aE" $revision
- $commitMessage = git show --quiet --format="%s" $revision
-
- .\packages\coveralls.net.0.7.0\tools\csmacnz.Coveralls.exe `
- --opencover -i opencover.xml `
- --repoToken "$Env:COVERALLS_REPO_TOKEN" `
- --commitId "$revision" `
- --commitBranch "$branch" `
- --commitAuthor "$commitAuthor" `
- --commitEmail "$commitEmail" `
- --commitMessage "$commitMessage" `
- --useRelativePaths `
- --basePath .\Duplicati\UnitTest\bin\Debug
- }
-
- if (!$testsPassed) {
- throw "Tests failed."
- }
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 225209504..000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,83 +0,0 @@
-language: minimal
-services: docker
-before_install:
- - sudo apt-get install moreutils
- - set -o pipefail
-addons:
- coverity_scan:
- project:
- name: "duplicati/duplicati"
- description: "Duplicati Build submitted via Travis CI"
- notification_email: kenneth@duplicati.com
- build_command_prepend: "msbuild /t:Clean"
- build_command: "msbuild /t:Rebuild"
- branch_pattern: coverity_scan
-env:
- global:
- # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
- # via the "travis encrypt" command using the project repo's public key
- - secure: "ijaQDcVcMo/utuP514FiDZVGR5LJbATWmYDmgRIIaI0YG2Rk6uuJp9XXDXr8sx66JWttPGgs7Htqfy50VKHdr7nsfyCQCRNGmqF+OJeUgAQMj5spxn9A7PZY9+GVhnXoJ06wvYjCv5MPeLBMDK/KpIM5Ny5IG+TKzQy4U7Dyg0riMUT61aqzxSjTGfHZPmaqBICJTzsRmeGHglemFUz/1B4NAN+IeAtXoH9YIfA2LjJfYmMLckPgFQLKN/tQRaGPWXh77y0qVgA++K8UVu5W3yGo3JXBPDdabGgKs9BPlfN5/Ixnkcy6ekAubDA/Aspur9x7/szj4/AnGMY6frNB33nQcnJQZ/51GYKr6CXCmjoJQuWc8ZKdEMqDn3w/kyEzvluSjAsJNRVboeWPE4VfpAeUBsjQ+TuEQi8WXhN8VJgZV7yCkVlZTVbhtOxMPsBiFb74lpWC2iQuWLJv9ED6vyXZVzZhNtfjXNXNZzIwYxbcd7I0ZQ8fmDstFnvBJveJby2ZRpECXTbc03eIUq1SAaVJJY2r47RD1PwVqM3xvUTljIqtKdyIz915mEOjqG1BnCDaiGHYJ4byuDDeIUZO9X70s60Gh4hupZA2Ruup0v7SfYgkto6aNcStd0NYd716Vd7hqXNTp6nu01L5YYJDY4h5sHyBXVXbxCKlUb01kUw="
- - USAGEREPORTER_Duplicati_LEVEL=none
- - AUTOUPDATER_Duplicati_SKIP_UPDATE=1
- - BUILD_DIR=${TRAVIS_BUILD_DIR}/../.build
- - TEST_DIR=${TRAVIS_BUILD_DIR}/../.test
- - ROOT_DIR="$TRAVIS_BUILD_DIR"
-
-# matrix expansion within jobs would be good:
-# https://github.com/travis-ci/travis-ci/issues/8295
-
-# There is one cache per branch, so concurrent builds on different branches possible!
-# DO NOT SET ENVIRONMENT VARIABLES WITHIN JOBS, OR CACHES WILL NOT BE SHARED AMONGST JOBS!
-
-
-jobs:
- include:
- - stage: build
- cache:
- directories:
- - $BUILD_DIR
- script:
- - ${ROOT_DIR}/pipeline/jobs/build_job.sh
-
-
- - stage: tests
- cache:
- directories:
- - $BUILD_DIR
- script:
- - ${ROOT_DIR}/pipeline/jobs/unittest_job.sh --testcategories BulkNormal
- - stage: tests
- cache:
- directories:
- - $BUILD_DIR
- script:
- - ${ROOT_DIR}/pipeline/jobs/unittest_job.sh --testcategories BulkNoSize
- - stage: tests
- cache:
- directories:
- - $BUILD_DIR
- script:
- - ${ROOT_DIR}/pipeline/jobs/unittest_job.sh --testcategories SVNDataLong,SVNData,RecoveryTool,ProblematicPath,SymLink
- - stage: tests
- cache:
- directories:
- - $BUILD_DIR
- script:
- - travis_wait ${ROOT_DIR}/pipeline/jobs/unittest_job.sh --testcategories Border
- - stage: tests
- cache:
- directories:
- - $BUILD_DIR
- script:
- - ${ROOT_DIR}/pipeline/jobs/unittest_job.sh --testcategories Filter,Targeted,Purge,Serialization,WebApi,Utility,UriUtility,IO,ImportExport,Disruption,RestoreHandler,RepairHandler,DeleteHandler,Controller
-
- - stage: tests
- cache:
- directories:
- - $BUILD_DIR
- script:
- - ${ROOT_DIR}/pipeline/jobs/selenium_job.sh
- addons:
- sauce_connect:
- username: $SAUCE_USERNAME
- access_key: $SAUCE_ACCESS_KEY