Skip to content

Commit 8626033

Browse files
Initial commit fro travis-ci
1 parent cc7b33c commit 8626033

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.travis.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Part of `travis-lazarus` (https://github.com/nielsAD/travis-lazarus)
2+
# License: MIT
3+
4+
sudo: true
5+
6+
os:
7+
- linux
8+
- osx
9+
10+
env:
11+
global:
12+
- WINEPREFIX=~/.winelaz
13+
- DISPLAY=:99.0
14+
matrix:
15+
- LAZ_PKG=true # Use the latest version from the default package manager
16+
- LAZ_VER=1.0.14 # Use specific (binary) release
17+
- LAZ_VER=1.2.6
18+
- LAZ_VER=1.4.4
19+
20+
matrix:
21+
include:
22+
- os: linux
23+
env: LAZ_VER=1.0.14 LAZ_ENV=wine WINEARCH=win32 LAZ_OPT="--os=win32 --cpu=i386"
24+
- os: linux
25+
env: LAZ_VER=1.2.6 LAZ_ENV=wine WINEARCH=win32 LAZ_OPT="--os=win32 --cpu=i386"
26+
- os: linux
27+
env: LAZ_VER=1.4.4 LAZ_ENV=wine WINEARCH=win32 LAZ_OPT="--os=win32 --cpu=i386"
28+
- os: linux
29+
env: LAZ_VER=1.2.6 LAZ_ENV=wine WINEARCH=win64 LAZ_OPT="--os=win64 --cpu=x86_64"
30+
- os: linux
31+
env: LAZ_VER=1.4.4 LAZ_ENV=wine WINEARCH=win64 LAZ_OPT="--os=win64 --cpu=x86_64"
32+
33+
before_install:
34+
# Start virtual display server
35+
- sh -e /etc/init.d/xvfb start || true
36+
37+
install:
38+
# Install prerequisites (fpc/lazarus/wine/qemu)
39+
- ./.travis.install.py
40+
41+
script:
42+
- lazbuild $LAZ_OPT my_lazarus_tests.lpi # Build my_lazarus_test project
43+
- $LAZ_ENV ./bin/my_lazarus_tests --all --format=plain # Run my_lazarus_test testsuite

0 commit comments

Comments
 (0)