Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test of out-of-source build to .travis.yml #18

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ env:
matrix:
- CONFIGURE_ARGS='-Uusethreads'
- CONFIGURE_ARGS='-Dusethreads'
- CONFIGURE_ARGS='-Uusethreads' OUT_OF_SOURCE='true'
- CONFIGURE_ARGS='-Dusethreads' OUT_OF_SOURCE='true'
- CONFIGURE_ARGS='-DPERL_GLOBAL_STRUCT'
- CONFIGURE_ARGS='-DPERL_GLOBAL_STRUCT_PRIVATE'
- CONFIGURE_ARGS='-Duseshrplib -Dusesitecustomize'
Expand All @@ -35,7 +37,8 @@ matrix:
os: osx

script:
- ./Configure -des -Dusedevel -Uversiononly -Dcc="ccache $CC" $CONFIGURE_ARGS -Dprefix=$HOME/perl-blead -DDEBUGGING
- if [ "x$OUT_OF_SOURCE" = "xtrue" ]; then mkdir /tmp/perl-out-of-source && cd /tmp/perl-out-of-source; fi
- $TRAVIS_BUILD_DIR/Configure -des -Dusedevel -Uversiononly -Dcc="ccache $CC" $CONFIGURE_ARGS -Dprefix=$HOME/perl-blead -DDEBUGGING
# all script commands are always run
# rather than using one very long oneliner using '&&', just always check the build status
- if [ "x$TRAVIS_TEST_RESULT" = "x0" ]; then TEST_JOBS=$JOBS make -j$JOBS test_harness_notty; fi
Expand Down