/
travis.yml
51 lines (43 loc) · 1.37 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
# Part of `travis-lazarus` (https://github.com/mehmetulukaya/muterm)
# License: MIT
language: generic
sudo: required
dist: trusty
os:
- linux
- win32
env:
global:
- WINEPREFIX=~/.winelaz
- DISPLAY=:99.0
matrix:
- LAZ_PKG=true # Use the latest version from the default package manager
- LAZ_VER=1.4.4 # Use specific (binary) release
- LAZ_VER=1.6.2
matrix:
include:
- 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.6.2 LAZ_ENV=wine WINEARCH=win32 LAZ_OPT="--os=win32 --cpu=i386"
- 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.6.2 LAZ_ENV=wine WINEARCH=win64 LAZ_OPT="--os=win64 --cpu=x86_64"
- os: linux
env: LAZ_VER=1.4.4 LAZ_ENV=qemu-arm LAZ_OPT="--os=linux --cpu=arm"
- os: linux
env: LAZ_VER=1.6.2 LAZ_ENV=qemu-arm LAZ_OPT="--os=linux --cpu=arm"
before_install:
# Start virtual display server
- Xvfb $DISPLAY &
install:
# Install prerequisites (fpc/lazarus/wine/qemu)
- ./.travis.install.py
script:
- lazbuild $LAZ_OPT my_lazarus_tests.lpi # Build my_lazarus_test project
- $LAZ_ENV ./bin/my_lazarus_tests --all --format=plain # Run my_lazarus_test testsuite
notifications:
email:
on_success: false
on_failure: change