Skip to content

Commit

Permalink
[ci] Test plain builds instead of ccache
Browse files Browse the repository at this point in the history
We weren't getting a lot of ROI out of testing ccache vs. non-ccache
builds, i.e. I have never seen a ccache/non-ccache build pair have
different behaviors.

Much better to test a "plain" parrot compile for each compiler, which
means we turn off every possible Configure.pl flag. This tends to catch
test failures where tests have not been properly skipped if Parrot was
not compiled with the feature turned on.

This has the added benefit of using fewer resources on Travis CI and
running faster.
  • Loading branch information
leto committed Jan 31, 2012
1 parent d4f3f68 commit 18664be
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .travis.yml
Expand Up @@ -9,7 +9,7 @@ before_script:
- sudo chown -R $CI_USER ~/perl5
# No, we are not going to run the tests for all these dependencies on every commit
- cpanm -n TAP::Harness::Archive TAP::Harness::ReportByDescription
script: "perl Configure.pl --test=build $PARROT_OPTIMIZE --cc=\"$CC\" --link=\"$CC\" --ld=\"$CC\" --ccflags='-g' ; make $PARROT_TEST"
script: "perl Configure.pl --test=build $PARROT_CONFIG_ARGS $PARROT_OPTIMIZE --cc=\"$CC\" --link=\"$CC\" --ld=\"$CC\" --ccflags='-g' ; make $PARROT_TEST"
# branches:
# only:
# - master
Expand All @@ -20,13 +20,12 @@ notifications:
on_success: change
on_failure: always
env:
- PARROT_OPTIMIZE="--optimize" PARROT_TEST="smolder_fulltest" CC="clang"
- PARROT_OPTIMIZE="" PARROT_TEST="smolder_fulltest" CC="clang"
- PARROT_OPTIMIZE="--optimize" PARROT_TEST="smolder_fulltest" CC="ccache gcc"
- PARROT_OPTIMIZE="--optimize" PARROT_TEST="smolder_fulltest" CC="ccache g++"
- PARROT_OPTIMIZE="--optimize" PARROT_TEST="smolder_fulltest" CC="gcc"
- PARROT_OPTIMIZE="--optimize" PARROT_TEST="smolder_fulltest" CC="g++"
- PARROT_OPTIMIZE="" PARROT_TEST="smolder_fulltest" CC="ccache gcc"
- PARROT_OPTIMIZE="" PARROT_TEST="smolder_fulltest" CC="ccache g++"
- PARROT_OPTIMIZE="" PARROT_TEST="smolder_fulltest" CC="gcc"
- PARROT_OPTIMIZE="" PARROT_TEST="smolder_fulltest" CC="g++"
- PARROT_CONFIG_ARGS="" PARROT_OPTIMIZE="--optimize" PARROT_TEST="smolder_fulltest" CC="clang"
- PARROT_CONFIG_ARGS="" PARROT_OPTIMIZE="" PARROT_TEST="smolder_fulltest" CC="clang"
- PARROT_CONFIG_ARGS="--without-gettext --without-gmp --without-libffi --without-extra-nci-thunks --without-opengl --without-readline --without-pcre --without-zlib --without-threads --without-icu" PARROT_OPTIMIZE="" PARROT_TEST="smolder_fulltest" CC="clang"
- PARROT_CONFIG_ARGS="" PARROT_OPTIMIZE="--optimize" PARROT_TEST="smolder_fulltest" CC="gcc"
- PARROT_CONFIG_ARGS="" PARROT_OPTIMIZE="" PARROT_TEST="smolder_fulltest" CC="gcc"
- PARROT_CONFIG_ARGS="--without-gettext --without-gmp --without-libffi --without-extra-nci-thunks --without-opengl --without-readline --without-pcre --without-zlib --without-threads --without-icu" PARROT_OPTIMIZE="" PARROT_TEST="smolder_fulltest" CC="gcc"
- PARROT_CONFIG_ARGS="" PARROT_OPTIMIZE="--optimize" PARROT_TEST="smolder_fulltest" CC="g++"
- PARROT_CONFIG_ARGS="" PARROT_OPTIMIZE="" PARROT_TEST="smolder_fulltest" CC="g++"
- PARROT_CONFIG_ARGS="--without-gettext --without-gmp --without-libffi --without-extra-nci-thunks --without-opengl --without-readline --without-pcre --without-zlib --without-threads --without-icu" PARROT_OPTIMIZE="" PARROT_TEST="smolder_fulltest" CC="g++"

0 comments on commit 18664be

Please sign in to comment.