Created
October 22, 2014 19:07
-
-
Save ugexe/ab41a126b14432fd8fba to your computer and use it in GitHub Desktop.
Removal of duplicated code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 'if [[ $BUILD == 1 && ! -d .build/testing ]]; then unset BUILD; fi' | |
- export AUTOMATED_TESTING=1 NONINTERACTIVE_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1 | |
- git clone git://github.com/haarg/perl-travis-helper | |
- source perl-travis-helper/init | |
- build-perl | |
- perl -V | |
- export PATH=$HELPER_ROOT/bin:$PATH | |
- 'if [[ $BUILD == 0 ]]; then git config --global user.name "TravisCI"; fi' | |
- 'if [[ $BUILD == 0 ]]; then git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org"; fi' | |
- 'if [[ $BUILD == 1 ]]; then cd .build/testing; fi' | |
- 'if [[ $BUILD == 1 ]]; then export AUTHOR_TESTING=0; fi' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 'if [[ $BUILD == 1 && ! -d .build/testing ]]; then unset BUILD; fi' | |
- 'if [[ $BUILD == 0 ]]; then export AUTOMATED_TESTING=1 NONINTERACTIVE_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1; fi' | |
- 'if [[ $BUILD == 0 ]]; then git clone git://github.com/haarg/perl-travis-helper; fi' | |
- 'if [[ $BUILD == 0 ]]; then source perl-travis-helper/init; fi' | |
- 'if [[ $BUILD == 0 ]]; then build-perl; fi' | |
- 'if [[ $BUILD == 0 ]]; then perl -V; fi' | |
- 'if [[ $BUILD == 0 ]]; then git config --global user.name "TravisCI"; fi' | |
- 'if [[ $BUILD == 0 ]]; then git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org"; fi' | |
- 'if [[ $BUILD == 1 ]]; then cd .build/testing; fi' | |
- 'if [[ $BUILD == 1 ]]; then export AUTOMATED_TESTING=1 NONINTERACTIVE_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1; fi' | |
- 'if [[ $BUILD == 1 ]]; then git clone git://github.com/haarg/perl-travis-helper; fi' | |
- 'if [[ $BUILD == 1 ]]; then source perl-travis-helper/init; fi' | |
- 'if [[ $BUILD == 1 ]]; then build-perl; fi' | |
- 'if [[ $BUILD == 1 ]]; then perl -V; fi' | |
- 'if [[ $BUILD == 1 ]]; then export AUTHOR_TESTING=0; fi' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment