forked from MetacoSA/NBitcoin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (21 loc) · 866 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
mono: none
notifications:
email: false
branches:
only:
- master
matrix:
include:
- os: linux
dist: trusty # Ubuntu 14.04
dotnet: 2.1
- os: osx
dotnet: 2.1.300
osx_image: xcode8.3 # dotnet requires at least this version
before_install:
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get -qq update; EXTRA_CONSTANT=-p:BuildConstants=NOCONSENSUSLIB; fi
- if [ $TRAVIS_OS_NAME = osx ]; then ulimit -S -n 4096; EXTRA_CONSTANT=-p:BuildConstants=NOCONSENSUSLIB; fi
script:
- dotnet build ./NBitcoin.Tests/NBitcoin.Tests.csproj -c Release -f netcoreapp2.1 $EXTRA_CONSTANT
- dotnet test --no-build -c Release -f netcoreapp2.1 ./NBitcoin.Tests/NBitcoin.Tests.csproj --filter "RestClient=RestClient|RPCClient=RPCClient|Protocol=Protocol|Core=Core|UnitTest=UnitTest" -p:ParallelizeTestCollections=false