diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2018-02-09 11:27:36 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2018-02-09 11:27:36 +0300 |
commit | 8a70c2d825c444de85171c767df75f05ba555691 (patch) | |
tree | f7e425a338b5116b55f77b9a7805624afbf0aa61 /.travis.yml | |
parent | 94d0b6471f644d41c8b6ff9c22c5fd1ed3a20675 (diff) | |
download | bdwgc-8a70c2d825c444de85171c767df75f05ba555691.tar.gz |
Travis CI: Test compiling GC/cord tests as C++ ones by Makefile.direct
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 627f9065..214f4c9f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -455,6 +455,16 @@ matrix: env: - CC_FOR_CHECK=g++ - MAKEFILE_TARGETS="all" + - MAKEFILE_TARGETS_CHECK="check" + - NO_CLONE_LIBATOMIC_OPS=true + - os: linux + compiler: gcc + env: + - CC_FOR_CHECK=g++ + - CFLAGS_EXTRA="-O3 -Wall -Wextra -Werror" + - MAKEFILE_NAME=Makefile.direct + - MAKEFILE_TARGETS="cords" + - MAKEFILE_TARGETS_CHECK="cord/de check" - os: linux addons: apt: @@ -540,7 +550,8 @@ script: LDFLAGS="$LDFLAGS"; fi - if [[ "$CC_FOR_CHECK" != "" ]]; then - make check CC=$CC_FOR_CHECK CFLAGS_EXTRA="$CFLAGS_EXTRA"; + make -f $MAKEFILE_NAME $MAKEFILE_TARGETS_CHECK CC=$CC_FOR_CHECK + CFLAGS_EXTRA="$CFLAGS_EXTRA"; fi - if [ -f gctest.log ]; then cat gctest.log; fi - if [[ "$CSA_CHECK" == true ]]; then |