diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 65 |
1 files changed, 56 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml index c3a951c..df0bd2c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,13 @@ matrix: 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: bionic @@ -48,6 +55,27 @@ matrix: 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 @@ -92,6 +120,13 @@ matrix: 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: bionic @@ -114,7 +149,19 @@ matrix: - BUILD_DIR=unix - CFGOPT="--enable-symbols" # Testing on Mac, various styles - - name: "macOS/Xcode 11.5/Shared" + - name: "macOS/Clang/Xcode 11.5/Shared" + os: osx + osx_image: xcode11.5 + 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.5/Shared" + os: osx + osx_image: xcode11.5 + 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.5/Shared" os: osx osx_image: xcode11.5 env: @@ -123,8 +170,8 @@ matrix: install: - ./configure ${CFGOPT} "--prefix=$HOME" || (cat config.log && exit 1) script: &mactest - - make binaries libraries tktest - - name: "macOS/Xcode 11.5/Static" + - make all tktest + - name: "macOS/Clang/Xcode 11.5/Static" os: osx osx_image: xcode11.5 env: @@ -133,7 +180,7 @@ matrix: install: - ./configure ${CFGOPT} "--prefix=$HOME" || (cat config.log && exit 1) script: *mactest - - name: "macOS/Xcode 11.5/Debug" + - name: "macOS/Clang/Xcode 11.5/Debug" os: osx osx_image: xcode11.5 env: @@ -142,7 +189,7 @@ matrix: install: - ./configure ${CFGOPT} "--prefix=$HOME" || (cat config.log && exit 1) script: *mactest - - name: "macOS/Xcode 11.5/Shared/XQuartz" + - name: "macOS/Clang/Xcode 11.5/Shared/XQuartz" os: osx osx_image: xcode11.5 env: @@ -152,7 +199,7 @@ matrix: - ./configure ${CFGOPT} "--prefix=$HOME" || (cat config.log && exit 1) script: *mactest # Older MacOS versions - - name: "macOS/Xcode 11/Shared" + - name: "macOS/Clang/Xcode 11/Shared" os: osx osx_image: xcode11 env: @@ -161,7 +208,7 @@ matrix: install: - ./configure ${CFGOPT} "--prefix=$HOME" || (cat config.log && exit 1) script: *mactest - - name: "macOS/Xcode 10/Shared" + - name: "macOS/Clang/Xcode 10/Shared" os: osx osx_image: xcode10.3 env: @@ -170,7 +217,7 @@ matrix: install: - ./configure ${CFGOPT} "--prefix=$HOME" || (cat config.log && exit 1) script: *mactest - - name: "macOS/Xcode 9/Shared" + - name: "macOS/Clang/Xcode 9/Shared" os: osx osx_image: xcode9.4 env: @@ -215,7 +262,7 @@ install: before_script: - export ERROR_ON_FAILURES=1 script: - - make binaries libraries tktest + - make all tktest - make install cache: directories: |