From: Ivan Maidanski Date: Thu, 27 Apr 2017 09:03:43 +0000 (+0300) Subject: Travis CI: Test also the distributive file creation X-Git-Tag: v7.4.6~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2751c58bb51afc26dd711651c388f86a6945ce32;p=gc Travis CI: Test also the distributive file creation (Cherry-pick commit b785b43 from 'master' branch.) --- diff --git a/.travis.yml b/.travis.yml index ac7c5358..3c9d4344 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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