forked from zeromq/netmq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (39 loc) · 1.07 KB
/
.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#language: csharp
# dotnet cli require Ubuntu 14.04
sudo: required
dist: trusty
# dotnet cli require OSX 10.10
#osx_image: xcode7.1
addons:
apt:
packages:
- gettext
- libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
- zlib1g
os:
# - osx
- linux
env:
- CLI_VERSION=latest
before_install:
# Install OpenSSL
- if test "$TRAVIS_OS_NAME" == "osx"; then
brew update;
brew install openssl;
brew link --force openssl;
fi
install:
# Download script to install dotnet cli
- curl -L --create-dirs https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh -o ./scripts/install.sh
- export DOTNET_INSTALL_DIR="$PWD/.dotnetcli"
# Install the latest versio of dotnet CLI
- bash ./scripts/install.sh --version "$CLI_VERSION" --install-dir "$DOTNET_INSTALL_DIR" --no-path
# Add dotnet to PATH
- export PATH="$DOTNET_INSTALL_DIR:$PATH"
script:
- dotnet restore src/
# testing only netcoreapp1.0 on linux and osx
- dotnet test src/NetMQ.Tests -f netcoreapp1.0 --labels=All