Skip to content
Snippets Groups Projects
Commit 4a60c032 authored by hluk's avatar hluk
Browse files

Travis: Use bionic-gcc and xenial-clang environments


Signed-off-by: default avatarLukas Holecek <hluk@email.cz>
parent d2ea7f5c
No related branches found
No related tags found
No related merge requests found
dist: trusty
sudo: required
language: cpp
......@@ -8,15 +7,19 @@ matrix:
compiler: clang
- os: linux
dist: bionic
compiler: gcc
env:
- COMPILER=g++
- GCOV=gcov
- os: linux
dist: xenial
compiler: clang
env:
- COMPILER=clang++
# Disable encryption tests because exporting GPG key asks for password.
- COPYQ_TESTS_SKIP_ITEMENCRYPT=1
cache:
apt: true
......
......@@ -26,6 +26,7 @@ packages=(
gnupg2
# tests
xvfb
openbox
)
......
......@@ -35,9 +35,9 @@ DISPLAY="" ./copyq --version
DISPLAY="" ./copyq --info
# Start X11 and window manager.
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sleep 4
export DISPLAY=':99.0'
Xvfb :99 -screen 0 1280x960x24 &
sleep 5
openbox &
sleep 8
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment