forked from 6bee/Remote.Linq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (35 loc) · 1.19 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
language: generic
branches:
except:
- experimental
env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
- DOTNET_CLI_TELEMETRY_OPTOUT=1
addons:
apt:
packages:
- gettext
- libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
- zlib1g
matrix:
include:
- os: linux
env: FRAMEWORK_VERSION=3.1 CLI_VERSION=Latest CONFIGURATION=Release
- os: osx
env: FRAMEWORK_VERSION=3.1 CLI_VERSION=Latest CONFIGURATION=Release
install:
- export DOTNET_INSTALL_DIR="$PWD/.dotnetcli"
- curl -sSL "https://dot.net/v1/dotnet-install.sh" | bash /dev/stdin --channel 3.1 --version "$CLI_VERSION" --install-dir "$DOTNET_INSTALL_DIR"
- export PATH="$DOTNET_INSTALL_DIR:$PATH"
before_script:
- if test "$TRAVIS_OS_NAME" == "osx"; then export DYLD_LIBRARY_PATH=/usr/local/opt/openssl/lib; fi
- dotnet --info
script:
# tests
- travis_wait 20 dotnet test test/Remote.Linq.Tests -c $CONFIGURATION -f "netcoreapp$FRAMEWORK_VERSION"
- dotnet test test/Remote.Linq.EntityFramework.Tests -c $CONFIGURATION -f "netcoreapp$FRAMEWORK_VERSION"
- dotnet test test/Remote.Linq.EntityFrameworkCore.Tests -c $CONFIGURATION -f "netcoreapp$FRAMEWORK_VERSION"