-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
55 lines (48 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
# Based on .travis.yml in `travis-lazarus` (https://github.com/nielsAD/travis-lazarus)
# License: MIT
sudo: true
os:
- linux
- osx
env:
global:
- WINEPREFIX=~/.winelaz
- DISPLAY=:99.0
- LAPE_PWD=./tests/RunTests
- LAPE_PKG=../../package
- LAPE_FFI=../../extensions/ffi/test
matrix:
- LAZ_PKG=true # Use the latest version from the default package manager
- LAZ_VER=1.0.14 # Use specific (binary) release
- LAZ_VER=1.2.6
- LAZ_VER=1.4.4
matrix:
allow_failures:
- env: LAZ_PKG=true
include:
- os: linux
env: LAZ_VER=1.0.14 LAZ_ENV=wine WINEARCH=win32 LAZ_OPT="--os=win32 --cpu=i386"
- os: linux
env: LAZ_VER=1.2.6 LAZ_ENV=wine WINEARCH=win32 LAZ_OPT="--os=win32 --cpu=i386"
- os: linux
env: LAZ_VER=1.4.4 LAZ_ENV=wine WINEARCH=win32 LAZ_OPT="--os=win32 --cpu=i386"
- os: linux
env: LAZ_VER=1.2.6 LAZ_ENV=wine WINEARCH=win64 LAZ_OPT="--os=win64 --cpu=x86_64"
- os: linux
env: LAZ_VER=1.4.4 LAZ_ENV=wine WINEARCH=win64 LAZ_OPT="--os=win64 --cpu=x86_64"
- os: linux
env: LAZ_VER=1.2.6 LAZ_ENV=qemu-arm LAZ_OPT="--os=linux --cpu=arm --widgetset=nogui"
- os: linux
env: LAZ_VER=1.4.4 LAZ_ENV=qemu-arm LAZ_OPT="--os=linux --cpu=arm --widgetset=nogui"
before_install:
# Start virtual display server
- sh -e /etc/init.d/xvfb start || true
- cd "$LAPE_PWD"
install:
# Install prerequisites (wine/fpc/lazarus)
- ./travis-lazarus/.travis.install.py
script:
- lazbuild $LAZ_OPT "$LAPE_PKG/lape.lpk"
- lazbuild $LAZ_OPT "LapeTest.lpi"
- $LAZ_ENV ./LapeTest
- cd "$LAPE_FFI" && ./runall.sh || true