2 Star 0 Fork 1

OpenSharperSync/UA-.NETStandard

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.travis.yml 4.68 KB
一键复制 编辑 原始数据 按行查看 历史
Martin Regen 提交于 2019-11-20 16:05 . Complex Types client library (#849)
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/OpenSharperSync/UA-.NETStandard.git
git@gitee.com:OpenSharperSync/UA-.NETStandard.git
OpenSharperSync
UA-.NETStandard
UA-.NETStandard
master

搜索帮助