forked from OPCFoundation/UA-.NETStandard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (27 loc) · 1.49 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: csharp
sudo: required
dist: trusty
addons:
apt:
sources:
packages:
install:
- sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
- sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
- sudo apt-get update
- sudo apt-get install dotnet-dev-1.0.4 -y
script:
- echo "========== build all .Net Core samples ============"
- dotnet restore "UA-NetStandard.sln"
- dotnet build -c Debug -f netcoreapp1.1 SampleApplications/Samples/NetCoreConsoleClient
- dotnet build -c Debug -f netcoreapp1.1 SampleApplications/Samples/NetCoreConsoleServer
- dotnet build -c Release -f netcoreapp1.1 SampleApplications/Samples/NetCoreConsoleClient
- dotnet build -c Release -f netcoreapp1.1 SampleApplications/Samples/NetCoreConsoleServer
- dotnet restore "SampleApplications/Workshop/Aggregation/UA Aggregation.sln"
- dotnet build -c Debug -f netcoreapp1.1 SampleApplications/Workshop/Aggregation/ConsoleAggregationServer
- dotnet build -c Release -f netcoreapp1.1 SampleApplications/Workshop/Aggregation/ConsoleAggregationServer
- dotnet restore "SampleApplications/Workshop/Reference/UA Reference.sln"
- dotnet build -c Debug -f netcoreapp1.1 SampleApplications/Workshop/Reference/ConsoleReferenceServer
- dotnet build -c Release -f netcoreapp1.1 SampleApplications/Workshop/Reference/ConsoleReferenceServer
after_script:
- echo "========== build done ============"