summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-22 11:04:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-22 11:04:53 (GMT)
commit3e5ccac63e1f2ebf2b0ff5a8e277b10cb63eefe3 (patch)
tree3c5621e844c4e160bbb3a9ad7a24ff41a62c7200 /.travis.yml
parent0253a4f9561201793f13143e499b4466c99c7350 (diff)
parentd1e851f0aae3a57248a5c1e29e20358ebdfea56f (diff)
downloadtcl-3e5ccac63e1f2ebf2b0ff5a8e277b10cb63eefe3.zip
tcl-3e5ccac63e1f2ebf2b0ff5a8e277b10cb63eefe3.tar.gz
tcl-3e5ccac63e1f2ebf2b0ff5a8e277b10cb63eefe3.tar.bz2
Add native Windows builds using GCC (mingw-w64) to travis.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml29
1 files changed, 28 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 9798220..0504a45 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -246,10 +246,37 @@ 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'
+ - name: "Windows/GCC/Shared"
+ os: windows
+ compiler: gcc
+ env:
+ - BUILD_DIR=win
+ - CFGOPT="--enable-64bit"
+ before_install:
+ - choco install make
+ - cd ${BUILD_DIR}
+ - name: "Windows/GCC/Static"
+ os: windows
+ compiler: gcc
+ env:
+ - BUILD_DIR=win
+ - CFGOPT="--enable-64bit --disable-shared"
+ before_install:
+ - choco install make
+ - cd ${BUILD_DIR}
+ - 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:
- cd ${BUILD_DIR}
install:
- - ./configure ${CFGOPT} --prefix=$HOME
+ - ./configure ${CFGOPT} --prefix=$HOME || (cat config.log && exit 1)
before_script:
- export ERROR_ON_FAILURES=1
script: