forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (48 loc) · 1.52 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
matrix:
include:
- language: csharp
stage: Mono ClientRuntime build
mono: latest
sudo: required
dist: xenial
script:
- ./tools/linuxScripts/runClientRuntimeTests.sh
- language: csharp
stage: NetCore build for SDK repo
mono: none
sudo: required
#dist: trusty
dist: xenial
#group: deprecated-2017Q4
env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
# safelist
#branches:
# only:
# - travisBuild
addons:
apt:
update: true
sources:
packages:
install:
- cat /etc/*release
#- 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-get clean
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 6B05F25D762E3157
- wget https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
- sudo dpkg -i packages-microsoft-prod.deb
- sudo apt-get install apt-transport-https
- sudo apt-get update
- sudo apt-get install dotnet-sdk-2.1
- sudo apt-get update
script:
- ./tools/linuxScripts/runNetCoreSdkTests.sh
after_script:
- echo "========== Server log ============"
- pwd
- ls -al
- ls -al TestResults
- cat TestResults/*.log