-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
.travis.yml
61 lines (58 loc) · 1.6 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
53
54
55
56
57
58
59
60
61
matrix:
include:
# - os: osx
# osx_image: xcode9.2
# language: csharp
# mono: latest
# env: TARGET=dotnet
- os: osx
language: csharp
mono: latest
env: TARGET=ios-sim
before_script:
- export SKIP_LIB_TESTS=1
- export UNO_TEST_ARGS="-DDEBUG_UNSAFE --build-only"
# - os: osx
# osx_image: xcode9.2
# language: csharp
# mono: latest
# env: TARGET=native
# before_script:
# - export UNO_TEST_ARGS=-DDEBUG_UNSAFE
- os: linux
dist: bionic
env: TARGET=native
addons:
apt:
packages:
- libsdl2-dev
- libglew-dev
- uuid-dev
services:
- xvfb
before_script:
- export GALLIUM_DRIVER=softpipe
- export LIBGL_ALWAYS_SOFTWARE=true
- export UNO_TEST_ARGS=-DDEBUG_UNSAFE
# Install Mono.
- sudo apt install gnupg ca-certificates
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
- echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
- sudo apt update
- sudo apt install mono-devel msbuild nuget
before_script:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
ulimit -c unlimited -S
fi
script:
- npm install
- npm pack --silent
- npm test $TARGET
after_failure:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
for c in $(ls /cores/core.*); do
lldb -c $c -o "bt all" -b;
done
fi