From: Ivan Maidanski Date: Wed, 5 Apr 2017 08:18:36 +0000 (+0300) Subject: Travis CI: Replace MAKEFILE_EXTRA_TARGETS with MAKEFILE_TARGETS X-Git-Tag: v8.0.0~794 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eae5077496ae198dce5feec640b54dda2c3e06a4;p=gc Travis CI: Replace MAKEFILE_EXTRA_TARGETS with MAKEFILE_TARGETS (refactor commits fd3002d, 3891855, 0b814a8) --- diff --git a/.travis.yml b/.travis.yml index 8ce819fd..741e1d6f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -158,16 +158,16 @@ matrix: compiler: clang env: - MAKEFILE_NAME=Makefile.direct - - MAKEFILE_EXTRA_TARGETS="check-cpp cord/de" + - MAKEFILE_TARGETS="check check-cpp cord/de" - os: linux compiler: gcc env: - MAKEFILE_NAME=Makefile.direct - - MAKEFILE_EXTRA_TARGETS="check-cpp cord/de" + - MAKEFILE_TARGETS="check check-cpp cord/de" - os: osx env: - MAKEFILE_NAME=Makefile.direct - - MAKEFILE_EXTRA_TARGETS="check-cpp cord/de" + - MAKEFILE_TARGETS="check check-cpp cord/de" - os: linux addons: { apt: { packages: [ musl-tools ] } } compiler: musl-gcc @@ -272,6 +272,9 @@ before_install: - if [[ "$MAKEFILE_NAME" == "" ]]; then MAKEFILE_NAME=Makefile; fi + - if [[ "$MAKEFILE_TARGETS" == "" ]]; then + MAKEFILE_TARGETS="check"; + fi install: - git clone --depth=50 https://github.com/ivmai/libatomic_ops.git @@ -287,7 +290,7 @@ script: cat include/config.h; fi - if [[ "$CSA_CHECK" != true && "$CPPCHECK_ENABLE" == "" ]]; then - make -j -f $MAKEFILE_NAME check $MAKEFILE_EXTRA_TARGETS + make -j -f $MAKEFILE_NAME $MAKEFILE_TARGETS CFLAGS_EXTRA="$CFLAGS_EXTRA"; fi - if [ -f gctest.log ]; then cat gctest.log; fi