[postgis-tickets] r16268 - [travis] fix RUNTESTFLAGS to hold --verbose even when there is --dumprestore specified

Darafei komzpa at gmail.com
Fri Jan 12 02:29:34 PST 2018


Author: komzpa
Date: 2018-01-12 02:29:34 -0800 (Fri, 12 Jan 2018)
New Revision: 16268

Modified:
   trunk/.travis.yml
Log:
[travis] fix RUNTESTFLAGS to hold --verbose even when there is --dumprestore specified

Closes https://github.com/postgis/postgis/pull/187


Modified: trunk/.travis.yml
===================================================================
--- trunk/.travis.yml	2018-01-12 09:38:17 UTC (rev 16267)
+++ trunk/.travis.yml	2018-01-12 10:29:34 UTC (rev 16268)
@@ -1,6 +1,4 @@
 env:
-  global:
-    - RUNTESTFLAGS=-v
   matrix:
     - CFLAGS="-g -Og" MATRIX_EVAL="touch check-no-trailing-blanks"
     - CFLAGS="-g -O2 -fstack-protector -Wformat -Werror=format-security" LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro"
@@ -17,6 +15,7 @@
   - 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
+  - curl -sSfL https://raw.githubusercontent.com/mapbox/logbt/30c554dd37b6c96c23fc424f75910fc6d6696f00/bin/logbt | sudo tee /usr/local/bin/logbt > /dev/null
   - sudo logbt --setup
   - sudo service postgresql stop 9.6
   - sudo chown -hRL --from=postgres travis:travis /etc /var /tmp
@@ -58,11 +57,11 @@
   - ./configure CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" $CONFIGURE_FLAGS || cat config.log
   - make -j
   - chmod 755 /home/travis
-  - logbt -- make check
-  - logbt -- make check RUNTESTFLAGS='--dumprestore'
+  - logbt -- make check "RUNTESTFLAGS=--verbose"
+  - logbt -- make check "RUNTESTFLAGS='--dumprestore --verbose'"
   - sudo make install
-  - logbt -- make installcheck
-  - logbt -- make installcheck RUNTESTFLAGS='--dumprestore'
+  - logbt -- make installcheck "RUNTESTFLAGS=--verbose"
+  - logbt -- make installcheck "RUNTESTFLAGS=--dumprestore --verbose"
 
 notifications:
   email: false



More information about the postgis-tickets mailing list