[postgis-tickets] r16219 - [travis] enable logbt.

Darafei komzpa at gmail.com
Thu Jan 4 10:13:04 PST 2018


Author: komzpa
Date: 2018-01-04 10:13:04 -0800 (Thu, 04 Jan 2018)
New Revision: 16219

Modified:
   trunk/.travis.yml
Log:
[travis] enable logbt. 

logbt prints a stacktrace each time something it runs segfaults.


Modified: trunk/.travis.yml
===================================================================
--- trunk/.travis.yml	2018-01-03 12:11:54 UTC (rev 16218)
+++ trunk/.travis.yml	2018-01-04 18:13:04 UTC (rev 16219)
@@ -16,6 +16,8 @@
 before_install:
   - eval "${MATRIX_EVAL}"
   - sudo sh -c "echo /usr/lib/libeatmydata/libeatmydata.so >> /etc/ld.so.preload"
+  - curl -sSfL https://github.com/mapbox/logbt/archive/v2.0.3.tar.gz | sudo tar --gunzip --extract --strip-components=1 --exclude="*md" --exclude="test*" --directory=/usr/local
+  - sudo logbt --setup
   - sudo service postgresql stop 9.6
   - sudo chown -hRL --from=postgres travis:travis /etc /var /tmp
   - sudo usermod -u 1000 postgres
@@ -25,7 +27,7 @@
   - sudo add-apt-repository --yes ppa:ubuntugis/ubuntugis-unstable
   - sudo apt-get update -qq
   - mkdir -p /home/travis/deb && touch /home/travis/deb/__ && sudo cp -n /home/travis/deb/* /var/cache/apt/archives || true
-  - sudo apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests libsfcgal1 libsfcgal-dev postgresql-server-dev-9.6 libxml2-utils libcunit1-dev xsltproc docbook-xsl docbook-mathml dblatex libgeos-dev libjson0-dev libprotobuf-c0-dev libgdal-dev
+  - sudo apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests libsfcgal1 libsfcgal-dev postgresql-server-dev-9.6 libxml2-utils libcunit1-dev xsltproc docbook-xsl docbook-mathml dblatex libgeos-dev libjson0-dev libprotobuf-c0-dev libgdal-dev gdb libc6-dbg
   - sudo sh -c "echo deb http://archive.ubuntu.com/ubuntu/ artful main restricted universe multiverse >> /etc/apt/sources.list"
   - sudo apt-get update -qq
   - sudo apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests binutils libproj-dev
@@ -56,11 +58,11 @@
   - ./configure CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" || cat config.log
   - make -j
   - chmod 755 /home/travis
-  - make check
-  - make check RUNTESTFLAGS='--dumprestore'
+  - logbt -- make check
+  - logbt -- make check RUNTESTFLAGS='--dumprestore'
   - sudo make install
-  - make installcheck
-  - make installcheck RUNTESTFLAGS='--dumprestore'
+  - logbt -- make installcheck
+  - logbt -- make installcheck RUNTESTFLAGS='--dumprestore'
 
 notifications:
   email: false



More information about the postgis-tickets mailing list