summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-16 18:55:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-16 18:55:50 (GMT)
commit746ce9535f6108a5a56579ec0b81cbde9a055b9a (patch)
tree8b1553f75276c7a03a2bf5f61c3a5088d609b8e4 /.travis.yml
parent906d03c8cb9426745e6b963a807df235647bb8cd (diff)
parent21ad94030ac5757eefe70e335cf8dc57e7b06338 (diff)
downloadtcl-746ce9535f6108a5a56579ec0b81cbde9a055b9a.zip
tcl-746ce9535f6108a5a56579ec0b81cbde9a055b9a.tar.gz
tcl-746ce9535f6108a5a56579ec0b81cbde9a055b9a.tar.bz2
Add 32-bit windows builds (both MSVC and GCC) to Travis
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml79
1 files changed, 59 insertions, 20 deletions
diff --git a/.travis.yml b/.travis.yml
index 83edde0..151d281 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,18 +15,15 @@ matrix:
dist: xenial
compiler: gcc
env:
- - CFGOPT=--disable-shared
+ - CFGOPT="--disable-shared"
- BUILD_DIR=unix
-# Debug build. Running test-cases disabled, because it is currently failing.
- - name: "Linux/GCC/Debug/no test"
+ - name: "Linux/GCC/Debug"
os: linux
dist: xenial
compiler: gcc
env:
- BUILD_DIR=unix
- - CFGOPT=--enable-symbols=all
- script:
- - make all tcltest
+ - CFGOPT="--enable-symbols"
# Older versions of GCC...
- name: "Linux/GCC 7/Shared"
os: linux
@@ -88,18 +85,15 @@ matrix:
dist: xenial
compiler: clang
env:
- - CFGOPT=--disable-shared
+ - CFGOPT="--disable-shared"
- BUILD_DIR=unix
-# Debug build. Running test-cases disabled, because it is currently failing.
- - name: "Linux/Clang/Debug/no test"
+ - name: "Linux/Clang/Debug"
os: linux
dist: xenial
compiler: clang
env:
- BUILD_DIR=unix
- - CFGOPT=--enable-symbols=all
- script:
- - make all tcltest
+ - CFGOPT="--enable-symbols"
# Testing on Mac, various styles
- name: "macOS/Xcode 11/Shared/Unix-like"
os: osx
@@ -118,7 +112,7 @@ matrix:
- make test styles=develop
- name: "macOS/Xcode 10/Shared"
os: osx
- osx_image: xcode10.2
+ osx_image: xcode10.3
env:
- BUILD_DIR=macosx
install: []
@@ -246,6 +240,34 @@ matrix:
script:
- cmd.exe /C 'vcvarsall.bat x64 && nmake OPTS=symbols,msvcrt,threads -f makefile.vc all tcltest'
- cmd.exe /C 'vcvarsall.bat x64 && nmake OPTS=symbols,msvcrt,threads -f makefile.vc test'
+# Test on Windows with MSVC native (32-bit)
+ - name: "Windows/MSVC-x86/Shared"
+ os: windows
+ compiler: cl
+ env: *vcenv
+ before_install: *vcpreinst
+ install: []
+ script:
+ - cmd.exe /C 'vcvarsall.bat x86 && nmake OPTS=threads -f makefile.vc all tcltest'
+ - cmd.exe /C 'vcvarsall.bat x86 && nmake OPTS=threads -f makefile.vc test'
+ - name: "Windows/MSVC-x86/Static"
+ os: windows
+ compiler: cl
+ env: *vcenv
+ before_install: *vcpreinst
+ install: []
+ script:
+ - cmd.exe /C 'vcvarsall.bat x86 && nmake OPTS=static,msvcrt,threads -f makefile.vc all tcltest'
+ - cmd.exe /C 'vcvarsall.bat x86 && nmake OPTS=static,msvcrt,threads -f makefile.vc test'
+ - name: "Windows/MSVC-x86/Debug"
+ os: windows
+ compiler: cl
+ env: *vcenv
+ before_install: *vcpreinst
+ install: []
+ script:
+ - cmd.exe /C 'vcvarsall.bat x86 && nmake OPTS=symbols,msvcrt,threads -f makefile.vc all tcltest'
+ - cmd.exe /C 'vcvarsall.bat x86 && nmake OPTS=symbols,msvcrt,threads -f makefile.vc test'
# Test on Windows with GCC native
- name: "Windows/GCC/Shared"
os: windows
@@ -253,7 +275,7 @@ matrix:
env:
- BUILD_DIR=win
- CFGOPT="--enable-64bit"
- before_install:
+ before_install: &makepreinst
- choco install make
- cd ${BUILD_DIR}
- name: "Windows/GCC/Static"
@@ -262,18 +284,35 @@ matrix:
env:
- BUILD_DIR=win
- CFGOPT="--enable-64bit --disable-shared"
- before_install:
- - choco install make
- - cd ${BUILD_DIR}
+ before_install: *makepreinst
- name: "Windows/GCC/Debug"
os: windows
compiler: gcc
env:
- BUILD_DIR=win
- CFGOPT="--enable-64bit --enable-symbols"
- before_install:
- - choco install make
- - cd ${BUILD_DIR}
+ before_install: *makepreinst
+# Test on Windows with GCC native (32-bit)
+ - name: "Windows/GCC-x86/Shared"
+ os: windows
+ compiler: gcc
+ env:
+ - BUILD_DIR=win
+ before_install: *makepreinst
+ - name: "Windows/GCC-x86/Static"
+ os: windows
+ compiler: gcc
+ env:
+ - BUILD_DIR=win
+ - CFGOPT="--disable-shared"
+ before_install: *makepreinst
+ - name: "Windows/GCC-x86/Debug"
+ os: windows
+ compiler: gcc
+ env:
+ - BUILD_DIR=win
+ - CFGOPT="--enable-symbols"
+ before_install: *makepreinst
before_install:
- cd ${BUILD_DIR}
install: