forked from brthor/Gofer.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
37 lines (33 loc) · 832 Bytes
/
.travis.yml
File metadata and controls
37 lines (33 loc) · 832 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
language: csharp
mono: none
dotnet: 2.0.0
dist: trusty
services:
- redis-server
script:
- dotnet build
- (cd Gofer.NET.Tests && dotnet test)
after_success:
- bash publish.sh Gofer.NET
- (cd Gofer.NET.Utils && bash ../publish.sh Gofer.NET.Utils)
cache:
directories:
- $HOME/.nuget
before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then ulimit -n 2048; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew tap homebrew/services ; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install redis ; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew services start redis ; fi
matrix:
include:
- os: linux
dist: trusty
- os: osx
osx_image: xcode10.2
cache:
directories:
- "/Users/travis/Library/Caches/Homebrew/"
- "$HOME/.nuget"
branches:
only:
- master