forked from PowerShell/Polaris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (26 loc) · 811 Bytes
/
.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
language: csharp
sudo: required
mono: none
dotnet: 2.0.0
dist: trusty
branches:
only:
- master
install:
- curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
- curl https://packages.microsoft.com/config/ubuntu/14.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
- sudo apt-get update
- sudo apt-get install -y powershell
script:
- pushd PolarisCore
- dotnet restore
- dotnet build -f netstandard2.0
- popd
- sudo pwsh ./build/travis.ps1
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/9b9664c60325fbb70dd7
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always