From 36eaf3fe49dcf42d686a51d94e7689d1949269cf Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Thu, 27 Apr 2017 23:57:02 +0300 Subject: [PATCH] Travis CI: Test also the distributive file creation (Cherry-pick commits 672aab2, 0ef0fe3 from 'master' branch.) --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bada590..ba481a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,9 @@ matrix: - os: linux compiler: gcc - os: osx + - os: linux + env: + - MAKEFILE_TARGET=dist - os: linux compiler: clang env: @@ -76,11 +79,14 @@ matrix: - CFLAGS_EXTRA="-march=native" - CONF_OPTIONS="--enable-assertions" +before_install: +- if [[ "$MAKEFILE_TARGET" == "" ]]; then MAKEFILE_TARGET=check; fi + install: - "./autogen.sh" script: - ./configure $CONF_OPTIONS - cat src/config.h -- make -j check CFLAGS_EXTRA="$CFLAGS_EXTRA" +- make -j $MAKEFILE_TARGET CFLAGS_EXTRA="$CFLAGS_EXTRA" - if [ -f tests/test_atomic.log ]; then cat tests/test_atomic*.log; fi -- 2.40.0