]> granicus.if.org Git - gc/commitdiff
Travis CI: Test also the distributive file creation
authorIvan Maidanski <ivmai@mail.ru>
Thu, 27 Apr 2017 09:03:43 +0000 (12:03 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 30 May 2017 14:18:24 +0000 (17:18 +0300)
(Cherry-pick commit b785b43 from 'master' branch.)

.travis.yml

index ac7c535839160de586f7c4acbf6283d46a18d143..3c9d43448433935eaa1244fde82e315d4314d4bc 100644 (file)
@@ -13,6 +13,9 @@ matrix:
   - os: osx
     env:
     - CONF_OPTIONS="--enable-cplusplus"
+  - os: linux
+    env:
+    - MAKEFILE_TARGETS="dist"
   - os: linux
     addons:
       apt:
@@ -252,6 +255,9 @@ matrix:
     - CFLAGS_EXTRA="-mx32 -march=native -D _FORTIFY_SOURCE=2"
     - CONF_OPTIONS="--enable-munmap --enable-large-config --enable-gc-assertions"
 
+before_install:
+- if [[ "$MAKEFILE_TARGETS" == "" ]]; then MAKEFILE_TARGETS="check"; fi
+
 install:
 - if [[ "$NO_CLONE_LIBATOMIC_OPS" != true ]]; then
     git clone --depth=50 https://github.com/ivmai/libatomic_ops.git
@@ -262,5 +268,5 @@ install:
 script:
 - ./configure $CONF_OPTIONS
 - cat include/config.h
-- make -j check CFLAGS_EXTRA="$CFLAGS_EXTRA"
+- make -j $MAKEFILE_TARGETS CFLAGS_EXTRA="$CFLAGS_EXTRA"
 - if [ -f gctest.log ]; then cat gctest.log; fi