-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (31 loc) · 925 Bytes
/
.travis.yml
File metadata and controls
39 lines (31 loc) · 925 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: BinaryEncoding.sln
sudo: required
dist: xenial
mono: latest
dotnet: 2.2.300
os:
- linux
- osx
notifications:
email:
on_success: change
on_failure: always
branches:
only:
- master
cache:
bundler: true
directories:
- ./packages
- /.dotnetcli
- $HOME/.nuget/packages
- $HOME/Library/Caches/Homebrew
before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi
install:
- git config --global core.autocrlf input
script:
- dotnet build -c Release
- dotnet test -c Release -f netcoreapp2.2 --no-build --no-restore --blame
- mono $HOME/.nuget/packages/xunit.runner.console/*/tools/net452/xunit.console.exe ./test/BinaryEncoding.Tests/bin/Release/net452/BinaryEncoding.Tests.dll