forked from fossabot/PowerShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (33 loc) · 805 Bytes
/
.travis.yml
File metadata and controls
39 lines (33 loc) · 805 Bytes
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
---
language: csharp
solution: PowerShell.sln
mono: none
git:
depth: 1
dotnet: 2.1.300
script: dotnet build
matrix:
fast_finish: true
allow_failures:
- stage: sanity testing
- script: make sanity
include:
- os: linux
dist: trusty
sudo: required
- os: osx
osx_image: xcode9.4
# travis-ci will quit using the cache if an enviroment variable changes.
# CACHE_VERSION is not used for anything other than invalidating the cache.
# DOTNET_SKIP_FIRST_TIME_EXPERIENCE is to skip the dotnet-cli initialization,
# which is expensive and unneeded for build agents.
env:
global:
- CACHE_VERSION=netcoreapp.2.1-sdk.2.1.300
- POWERSHELL_TELEMETRY_OPTOUT=1
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
cache:
timeout: 360
directories:
- $HOME/.nuget
- deps