diff options
author | Olaf Alders <olaf@wundersolutions.com> | 2019-01-10 13:23:55 -0500 |
---|---|---|
committer | Olaf Alders <olaf@wundersolutions.com> | 2019-01-10 13:25:16 -0500 |
commit | 43a7171ea9e4405d826de58a5ddb098ca438ecd4 (patch) | |
tree | 4f63b306b61de7ae10e711757f7431d22c2d0088 | |
parent | b1bdf88ec0ea75bfcb28018ffd428936c28743cf (diff) | |
download | uri-43a7171ea9e4405d826de58a5ddb098ca438ecd4.tar.gz |
Manage Travis config via setup-travis-yml.pl
-rw-r--r-- | .travis.yml | 56 |
1 files changed, 32 insertions, 24 deletions
diff --git a/.travis.yml b/.travis.yml index c9d31d0..0a7e17c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,47 +4,47 @@ addons: packages: - aspell - aspell-en +language: perl +perl: + - blead + - dev + - '5.28' + - '5.26' + - '5.24' + - '5.22' + - '5.20' + - '5.18' + - '5.16' + - '5.14' + - '5.12' + - '5.10' cache: directories: - '~/perl5' -language: perl -perl: - - "5.28" - - "5.26" - - "5.24" - - "5.22" - - "5.20" - - "5.18" - - "5.16" - - "5.14" - - "5.12" - - "5.10" - - "blead" # builds perl from git +matrix: + allow_failures: + - perl: blead + fast_finish: 1 + include: + - env: COVERAGE=1 + perl: '5.28' env: global: - AUTHOR_TESTING=1 - AUTOMATED_TESTING=1 - RELEASE_TESTING=1 -matrix: - include: - - perl: 5.28 - env: COVERAGE=1 # enables coverage+coveralls reporting - allow_failures: - - perl: blead # ignore failures for blead perl before_install: - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers - source ~/travis-perl-helpers/init - build-perl - perl -V - build-dist - - cd $BUILD_DIR # $BUILD_DIR is set by the build-dist command + - cd $BUILD_DIR install: - - cpan-install --deps # installs prereqs, including recommends - - cpan-install --coverage # installs converage prereqs, if enabled + - cpan-install --deps + - cpan-install --coverage before_script: - coverage-setup -after_success: - - coverage-report script: - perl Makefile.PL - make @@ -53,3 +53,11 @@ script: - unset AUTHOR_TESTING; unset AUTOMATED_TESTING; unset RELEASE_TESTING - cpanm --test-only HTTP::Message || ( cat ~/.cpanm/build.log; false ) - cpanm --test-only LWP || ( cat ~/.cpanm/build.log; false ) +after_success: + - coverage-report +### __app_cisetup__ +# --- +# force_threaded_perls: 0 +# perl_caching: 1 + +### __app_cisetup__ |