-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (36 loc) · 1.16 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
language: minimal
if: tag IS blank
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
dist: jammy # define Ubuntu Linux Build Environment [Jammy 22.04] to fix issue with loading/executing sqlite
env: CONFIGURATION=Release
- os: osx
osx_image: xcode14.2 # https://docs.travis-ci.com/user/reference/osx/#macos-version
env: CONFIGURATION=Release
install:
- export DOTNET_INSTALL_DIR="$PWD/.dotnetcli"
- curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel LTS --version latest --install-dir "$DOTNET_INSTALL_DIR"
- export PATH="$DOTNET_INSTALL_DIR:$PATH"
- if test "$TRAVIS_OS_NAME" == "osx"; then export DYLD_LIBRARY_PATH=/usr/local/opt/openssl/lib; fi
before_script:
- dotnet --info
script:
- dotnet test test/Aqua.AccessControl.Tests -c $CONFIGURATION -f net8.0
- dotnet test test/Aqua.AccessControl.Tests.EFCore.Sqlite -c $CONFIGURATION -f net8.0