[geos-commits] r3935 - in branches/3.4: . tools/ci

svn_geos at osgeo.org svn_geos at osgeo.org
Mon Sep 2 05:15:47 PDT 2013


Author: strk
Date: 2013-09-02 05:15:47 -0700 (Mon, 02 Sep 2013)
New Revision: 3935

Modified:
   branches/3.4/.gitignore
   branches/3.4/.travis.yml
   branches/3.4/tools/ci/before_install.sh
   branches/3.4/tools/ci/script.sh
Log:
Add 32-bit build in travis-ci config (#658)

- Add 32-bit builds to Travis CI matrix
- Install gcc-multilib on Travis CI for -m32
- Add IRC use_notice to Travis CI notifications
- Set on_success and on_failure separately for IRC and email
- Ignore _build - convenient for CMake builds

Patch by Mateusz Loskot

Modified: branches/3.4/.gitignore
===================================================================
--- branches/3.4/.gitignore	2013-09-02 12:14:42 UTC (rev 3934)
+++ branches/3.4/.gitignore	2013-09-02 12:15:47 UTC (rev 3935)
@@ -1,3 +1,4 @@
+_build
 aclocal.m4
 Makefile.in
 Makefile

Modified: branches/3.4/.travis.yml
===================================================================
--- branches/3.4/.travis.yml	2013-09-02 12:14:42 UTC (rev 3934)
+++ branches/3.4/.travis.yml	2013-09-02 12:15:47 UTC (rev 3935)
@@ -15,19 +15,26 @@
 
 env:
     matrix:
-        - GEOS_TRAVIS_BUILD=autotools
-        - GEOS_TRAVIS_BUILD=cmake
+        - GEOS_BUILD_TOOL=autotools CFLAGS=-m32 CXXFLAGS=-m32
+        - GEOS_BUILD_TOOL=autotools CFLAGS=-m64 CXXFLAGS=-m64
+        - GEOS_BUILD_TOOL=cmake CFLAGS=-m32 CXXFLAGS=-m32
+        - GEOS_BUILD_TOOL=cmake CFLAGS=-m64 CXXFLAGS=-m64
 
 before_install: ./tools/ci/before_install.sh
 
 script: ./tools/ci/script.sh
 
 notifications:
-    on_success: always # [always|never|change] # default: change
-    on_failure: always # [always|never|change] # default: always
-    irc: "chat.freenode.net#postgis"
+    irc:
+        channels:
+            - "chat.freenode.net#postgis"
+        on_success: always # [always|never|change] # default: change
+        on_failure: always # [always|never|change] # default: always
+        use_notice: true
     email:
         recipients:
             #- geos-devel at lists.osgeo.org # TODO: whitelist this e-mail
             - mateusz at loskot.net
+        on_success: change
+        on_failure: always
 

Modified: branches/3.4/tools/ci/before_install.sh
===================================================================
--- branches/3.4/tools/ci/before_install.sh	2013-09-02 12:14:42 UTC (rev 3934)
+++ branches/3.4/tools/ci/before_install.sh	2013-09-02 12:15:47 UTC (rev 3935)
@@ -12,7 +12,8 @@
 source ${TRAVIS_BUILD_DIR}/tools/ci/common.sh
 
 sudo apt-get update -qq
+sudo apt-get install -qq gcc-multilib g++-multilib
 
-before_install="${TRAVIS_BUILD_DIR}/tools/ci/before_install_${GEOS_TRAVIS_BUILD}.sh"
+before_install="${TRAVIS_BUILD_DIR}/tools/ci/before_install_${GEOS_BUILD_TOOL}.sh"
 [ -x ${before_install} ] && ${before_install} || echo "nothing to run"
 

Modified: branches/3.4/tools/ci/script.sh
===================================================================
--- branches/3.4/tools/ci/script.sh	2013-09-02 12:14:42 UTC (rev 3934)
+++ branches/3.4/tools/ci/script.sh	2013-09-02 12:15:47 UTC (rev 3935)
@@ -17,4 +17,4 @@
 cd ${builddir}
 
 # build and run tests
-${TRAVIS_BUILD_DIR}/tools/ci/script_${GEOS_TRAVIS_BUILD}.sh
+${TRAVIS_BUILD_DIR}/tools/ci/script_${GEOS_BUILD_TOOL}.sh



More information about the geos-commits mailing list