Skip to content

Commit cfdac8b

Browse files
use service xvfb
1 parent a8ba9fb commit cfdac8b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.travis.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ language: generic
99
# Need to build in xenial with lazarus 1.8.2.
1010
# Do not use bionic or newer Lazarus version
1111

12-
env:
13-
global:
14-
- DISPLAY=:99.0
12+
services:
13+
- xvfb
14+
15+
#env:
16+
# global:
17+
# - DISPLAY=:99.0
1518

1619
matrix:
1720
include:
@@ -41,7 +44,7 @@ script:
4144
- lazbuild --build-mode=Debug $LAZ_OPT $PROJECT_LPI_UNIT_TEST_PATH
4245

4346
# Start the unit test
44-
- xvfb-run source ./scripts/travis_unit_test.sh
47+
- source ./scripts/travis_unit_test.sh
4548

4649
before_deploy:
4750
# Create the zip file for deployment

0 commit comments

Comments
 (0)