代码拉取完成,页面将自动刷新
同步操作将从 OpenSharperSync/UA-.NETStandard 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
language: csharp
mono: 5.4.0
dotnet: 2.0.0
os:
- linux
- osx
sudo: false
dist: trusty
osx_image: xcode9.1
addons:
apt:
sources:
packages:
script:
- echo "========== restore all .Net Core samples ============"
- dotnet restore "UA Core Library.sln"
- dotnet restore "UA-NetStandard.sln"
- dotnet restore "UA Global Discovery Server.sln"
- dotnet restore "UA Quickstart Applications.sln"
- dotnet restore "SampleApplications/Workshop/Aggregation/UA Aggregation.sln"
- dotnet restore "SampleApplications/Workshop/Reference/UA Reference.sln"
- echo "========== build all .Net Core samples ============"
- dotnet build -c Debug /p:NoHttps=true SampleApplications/Samples/NetCoreConsoleServer/NetCoreConsoleServer.csproj
- dotnet build -c Release /p:NoHttps=true SampleApplications/Samples/NetCoreConsoleServer/NetCoreConsoleServer.csproj
- dotnet build -c Debug SampleApplications/Samples/NetCoreConsoleClient/NetCoreConsoleClient.csproj
- dotnet build -c Debug SampleApplications/Samples/NetCoreComplexClient/NetCoreComplexClient.csproj
- dotnet build -c Debug SampleApplications/Samples/NetCoreConsoleServer/NetCoreConsoleServer.csproj
- dotnet build -c Release SampleApplications/Samples/NetCoreConsoleClient/NetCoreConsoleClient.csproj
- dotnet build -c Release SampleApplications/Samples/NetCoreComplexClient/NetCoreComplexClient.csproj
- dotnet build -c Release SampleApplications/Samples/NetCoreConsoleServer/NetCoreConsoleServer.csproj
- dotnet build -c Debug SampleApplications/Workshop/Aggregation/ConsoleAggregationServer
- dotnet build -c Release SampleApplications/Workshop/Aggregation/ConsoleAggregationServer
- dotnet build -c Debug SampleApplications/Workshop/Reference/ConsoleReferenceServer/ConsoleReferenceServer.csproj
- dotnet build -c Release SampleApplications/Workshop/Reference/ConsoleReferenceServer/ConsoleReferenceServer.csproj
- dotnet build -c Debug SampleApplications/Samples/GDS/ConsoleServer
- dotnet build -c Release SampleApplications/Samples/GDS/ConsoleServer
- dotnet build -c Debug SampleApplications/Samples/GDS/ClientTest
- dotnet build -c Release SampleApplications/Samples/GDS/ClientTest
- dotnet test --no-build -v n -c Debug --filter TestCategory="GDSRegistrationAndPull" SampleApplications/Samples/GDS/ClientTest
- dotnet test --no-build -v n -c Release --filter TestCategory="GDSRegistrationAndPull" SampleApplications/Samples/GDS/ClientTest
- dotnet test --no-build -v n -c Debug --filter TestCategory="GDSPush" SampleApplications/Samples/GDS/ClientTest
- dotnet test --no-build -v n -c Release --filter TestCategory="GDSPush" SampleApplications/Samples/GDS/ClientTest
# - dotnet test --no-build -v n -c Debug --filter TestCategory="CertificateValidator" SampleApplications/Samples/GDS/ClientTest
- dotnet test --no-build -v n -c Release --filter TestCategory="CertificateValidator" SampleApplications/Samples/GDS/ClientTest
- echo "========== run .Net Core samples ============"
- cd SampleApplications/Samples/NetCoreConsoleServer/bin/Debug/netcoreapp2.0
- dotnet NetCoreConsoleServer.dll -t 10 -a
- cd $TRAVIS_BUILD_DIR
- ./testclientserver.sh
- echo "========== build all Mono samples ============"
- msbuild /t:restore SampleApplications/Workshop/Reference/ConsoleReferenceServer/MonoReferenceServer.csproj
- msbuild /p:configuration=Debug /t:compile,publish SampleApplications/Workshop/Reference/ConsoleReferenceServer/MonoReferenceServer.csproj
- msbuild /p:configuration=Release /t:compile,publish SampleApplications/Workshop/Reference/ConsoleReferenceServer/MonoReferenceServer.csproj
- msbuild /t:restore SampleApplications/Samples/NetCoreConsoleServer/MonoConsoleServer.csproj
- msbuild /p:configuration=Debug /t:compile,publish SampleApplications/Samples/NetCoreConsoleServer/MonoConsoleServer.csproj
- msbuild /p:configuration=Release /t:compile,publish SampleApplications/Samples/NetCoreConsoleServer/MonoConsoleServer.csproj
- msbuild /t:restore SampleApplications/Samples/NetCoreConsoleClient/MonoConsoleClient.csproj
- msbuild /p:configuration=Debug /t:compile,publish SampleApplications/Samples/NetCoreConsoleClient/MonoConsoleClient.csproj
- msbuild /p:configuration=Release /t:compile,publish SampleApplications/Samples/NetCoreConsoleClient/MonoConsoleClient.csproj
- cd SampleApplications/Samples/NetCoreConsoleServer/bin/Debug/net46
- mono MonoConsoleServer.exe -t 10 -a
- cd $TRAVIS_BUILD_DIR
- ./testmonoclientserver.sh
after_script:
- echo "========== build done ============"
after_failure:
- cd $HOME
- cd .local/share/OPC
- ls -R
- cd Logs
- cat GlobalDiscoveryTestClient.log.txt
- cat ServerConfigurationPushTestClient.log.txt
- cat GlobalDiscoveryTestServer.log.txt
- cd $TRAVIS_BUILD_DIR
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。