-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
42 lines (34 loc) · 871 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: csharp
mono: none
# we install dotnet SDK manually
env:
matrix:
- CLI_VERSION=2.2.300
#Ubuntu 14.04
sudo: required
dist: trusty
#OS X 10.12
osx_image: xcode9
addons:
apt:
packages:
- gettext
- libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
- zlib1g
os:
- osx
- linux
before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then ./tooling/configure-dotnet-cli-osx.sh; fi
# Download script to install dotnet cli
- curl -L --create-dirs https://dot.net/v1/dotnet-install.sh -o ./scripts/obtain/install.sh
- find ./scripts -name "*.sh" -exec chmod +x {} \;
- export DOTNET_INSTALL_DIR="$PWD/.dotnetcli"
- ./scripts/obtain/install.sh --version "$CLI_VERSION" --install-dir "$DOTNET_INSTALL_DIR" --no-path
# add dotnet to PATH
- export PATH="$DOTNET_INSTALL_DIR:$PATH"
script:
- ./build.sh