-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy path.travis.yml
47 lines (38 loc) · 1.13 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
language: csharp
solution: cloudscribe.Web.Navigation.sln
#before_install:
# - if [ "$OS" = "linux" ]; then sudo apt-get install libunwind8; fi
#script:
# - wget https://dot.net/v1/dotnet-install.sh && chmod +x dotnet-install.sh
# - ./dotnet-install.sh --version 2.0.0 --install-dir $HOME/.dotnet
# - $HOME/.dotnet/dotnet restore
# - $HOME/.dotnet/dotnet build
# - $HOME/.dotnet/dotnet test -c Release ./test/cloudscribe.Web.Navigation.Test/cloudscribe.Web.Navigation.Test.csproj
#matrix:
# include:
# - os: linux
# dist: trusty
# env: OS=linux
# - os: osx
# osx_image: xcode9
# env: OS=osx
sudo: false
dist: xenial
mono: none
dotnet: 3.0.100
env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
os:
- linux
# - osx
#osx_image: xcode8.3
script:
- if test "$TRAVIS_OS_NAME" == "linux"; then dotnet restore; fi
# - if test "$TRAVIS_OS_NAME" == "osx"; then dotnet restore --disable-parallel; fi
- dotnet build -c Release
- dotnet test -c Release ./test/cloudscribe.Web.Navigation.Test/cloudscribe.Web.Navigation.Test.csproj
branches:
only:
- master