-
Notifications
You must be signed in to change notification settings - Fork 20
/
.travis.yml
47 lines (42 loc) · 1.05 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
language: csharp
dotnet: 2.1.302
addons:
apt:
packages:
- gettext
- libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
- zlib1g
env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
matrix:
include:
- os: linux
mono: none
dist: trusty
sudo: required
env: CONFIGURATION=Release
- os: osx
mono: none
osx_image: xcode9
env: CONFIGURATION=Release
install:
# Display dotnet version info
- which dotnet;
if [ $? -eq 0 ]; then
echo "Using dotnet:";
dotnet --info;
else
echo "dotnet.exe not found"
exit 1;
fi
- if test "$TRAVIS_OS_NAME" == "linux"; then nvm install stable && nvm use stable; fi
- if test "$TRAVIS_OS_NAME" == "osx"; then 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/; fiopenssl; ulimit -S -n 8192;fi
before_script:
- chmod a+x ./build.sh
script:
- ./build.sh