summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml52
1 files changed, 49 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index c783871..95dd99b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,6 +25,13 @@ jobs:
compiler: gcc
env:
- BUILD_DIR=unix
+ - name: "Linux/GCC/Shared: NO_DEPRECATED"
+ os: linux
+ dist: bionic
+ compiler: gcc
+ env:
+ - BUILD_DIR=unix
+ - CFGOPT="CFLAGS=-DTK_NO_DEPRECATED=1"
- name: "Linux/GCC/Shared/no-xft"
os: linux
dist: focal
@@ -46,6 +53,27 @@ jobs:
env:
- BUILD_DIR=unix
- CFGOPT="--enable-symbols"
+ - name: "Linux/G++/Shared"
+ os: linux
+ dist: bionic
+ compiler: g++
+ env:
+ - BUILD_DIR=unix
+ - CFGOPT="CC=g++ CFLAGS=-Dregister=dont+use+register"
+ - name: "Linux/G++/Shared UTF_MAX=4"
+ os: linux
+ dist: bionic
+ compiler: g++
+ env:
+ - BUILD_DIR=unix
+ - CFGOPT="CC=g++ CFLAGS=-DTCL_UTF_MAX=4"
+ - name: "Linux/G++/Shared UTF_MAX=6"
+ os: linux
+ dist: bionic
+ compiler: g++
+ env:
+ - BUILD_DIR=unix
+ - CFGOPT="CC=g++ CFLAGS=-DTCL_UTF_MAX=6"
# Older versions of GCC...
- name: "Linux/GCC 7/Shared"
os: linux
@@ -90,6 +118,13 @@ jobs:
compiler: clang
env:
- BUILD_DIR=unix
+ - name: "Linux/Clang/Shared: NO_DEPRECATED"
+ os: linux
+ dist: bionic
+ compiler: clang
+ env:
+ - BUILD_DIR=unix
+ - CFGOPT="CFLAGS=-DTK_NO_DEPRECATED=1"
- name: "Linux/Clang/Shared/no-xft"
os: linux
dist: focal
@@ -118,10 +153,22 @@ jobs:
env:
- BUILD_DIR=unix
- CFGOPT="--with-tcl=/usr/local/opt/tcl-tk/lib --enable-aqua CFLAGS=-I/usr/local/opt/tcl-tk/include"
+ - name: "macOS/Clang++/Xcode 11.6/Shared"
+ os: osx
+ osx_image: xcode11.6
+ env:
+ - BUILD_DIR=unix
+ - CFGOPT="--with-tcl=/usr/local/opt/tcl-tk/lib CC=clang++ --enable-aqua CFLAGS=-I/usr/local/opt/tcl-tk/include CPPFLAGS=-D__private_extern__=extern"
+ - name: "macOS/Clang/Xcode 11.6/Shared"
+ os: osx
+ osx_image: xcode11.6
+ env:
+ - BUILD_DIR=unix
+ - CFGOPT="--with-tcl=/usr/local/opt/tcl-tk/lib --enable-aqua CFLAGS=-I/usr/local/opt/tcl-tk/include"
install:
- ./configure ${CFGOPT} "--prefix=$HOME" || (cat config.log && exit 1)
script: &mactest
- - make binaries libraries tktest
+ - make all tktest
- name: "macOS/Clang/Xcode 11.6/Static"
os: osx
osx_image: xcode11.6
@@ -208,7 +255,6 @@ jobs:
env:
- BUILD_DIR=unix
script:
- - touch ../doc/man.macros
- make dist
before_install:
- |-
@@ -224,7 +270,7 @@ install:
before_script:
- export ERROR_ON_FAILURES=1
script:
- - make binaries libraries tktest
+ - make all tktest
- make install
cache:
directories: