summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-08 15:14:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-08 15:14:37 (GMT)
commit4afcd874022affaf0e48efc97d18afae0ba56adc (patch)
treef0f50bfe38cecde907b6ffb516b448a846c2bc07 /.travis.yml
parent95aa66aaac53bd1a8b29fd542ec754556343c7a9 (diff)
downloadtk-4afcd874022affaf0e48efc97d18afae0ba56adc.zip
tk-4afcd874022affaf0e48efc97d18afae0ba56adc.tar.gz
tk-4afcd874022affaf0e48efc97d18afae0ba56adc.tar.bz2
Let's try to run GUI testcases on X11 (Xenial/Bionic/Focal/MacOS)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml32
1 files changed, 27 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 95c0727..d478d61 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,6 +11,7 @@ addons:
- gcc-multilib
- tcl-dev
- libx11-dev
+ - xvfb
homebrew:
packages:
- tcl-tk
@@ -25,6 +26,10 @@ jobs:
compiler: gcc
env:
- BUILD_DIR=unix
+ script: &x11gui
+ - make binaries libraries tktest
+ - make install
+ - xvfb-run make test
- name: "Linux/GCC/Shared/no-xft"
os: linux
dist: focal
@@ -32,6 +37,21 @@ jobs:
env:
- BUILD_DIR=unix
- CFGOPT="--disable-xft"
+ script: *x11gui
+ - name: "Linux/GCC/Shared/bionic"
+ os: linux
+ dist: bionic
+ compiler: gcc
+ env:
+ - BUILD_DIR=unix
+ script: *x11gui
+ - name: "Linux/GCC/Shared/xenial"
+ os: linux
+ dist: xenial
+ compiler: gcc
+ env:
+ - BUILD_DIR=unix
+ script: *x11gui
- name: "Linux/GCC/Static"
os: linux
dist: focal
@@ -112,7 +132,7 @@ jobs:
- BUILD_DIR=unix
- CFGOPT="--enable-symbols"
# Testing on Mac, various styles
- - name: "macOS/Clang/Xcode 11.6/Shared"
+ - name: "macOS/Clang/Xcode 11.7/Shared"
os: osx
osx_image: xcode11.7
env:
@@ -122,7 +142,7 @@ jobs:
- ./configure ${CFGOPT} "--prefix=$HOME" || (cat config.log && exit 1)
script: &mactest
- make binaries libraries tktest
- - name: "macOS/Clang/Xcode 11.6/Static"
+ - name: "macOS/Clang/Xcode 11.7/Static"
os: osx
osx_image: xcode11.7
env:
@@ -131,7 +151,7 @@ jobs:
install:
- ./configure ${CFGOPT} "--prefix=$HOME" || (cat config.log && exit 1)
script: *mactest
- - name: "macOS/Clang/Xcode 11.6/Debug"
+ - name: "macOS/Clang/Xcode 11.7/Debug"
os: osx
osx_image: xcode11.7
env:
@@ -140,7 +160,7 @@ jobs:
install:
- ./configure ${CFGOPT} "--prefix=$HOME" || (cat config.log && exit 1)
script: *mactest
- - name: "macOS/Clang/Xcode 11.6/Shared/XQuartz"
+ - name: "macOS/Clang/Xcode 11.7/Shared/XQuartz"
os: osx
osx_image: xcode11.7
env:
@@ -148,7 +168,9 @@ jobs:
- CFGOPT="--with-tcl=/usr/local/opt/tcl-tk/lib --disable-corefoundation --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib CFLAGS=-I/usr/local/opt/tcl-tk/include"
install:
- ./configure ${CFGOPT} "--prefix=$HOME" || (cat config.log && exit 1)
- script: *mactest
+ script:
+ - make binaries libraries tktest
+ - Xvfb :1337 & make test DISPLAY=:1337
# Older MacOS versions
- name: "macOS/Clang/Xcode 11/Shared"
os: osx