This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add epigraph for 5.28.2-RC1
[perl5.git] / .travis.yml
CommitLineData
3135e2b2 1language: c
7d655fab 2cache: ccache
3135e2b2
TC
3
4os:
5 - linux
6 - osx
7
8compiler:
9 - gcc
10 - clang
11
e3483ccf
N
12install:
13 - git fetch --unshallow --tags # t/porting/cmp_version.t
7d655fab 14 # install & enable ccache on osx
ab50f992
N
15 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew install ccache; fi
16 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH="/usr/local/opt/ccache/libexec:$PATH"; fi
e3483ccf 17
3135e2b2 18env:
6f1b38bf 19 global:
e3483ccf 20 - JOBS=4
6f1b38bf
N
21 matrix:
22 - CONFIGURE_ARGS='-Uusethreads'
23 - CONFIGURE_ARGS='-Dusethreads'
b6a6ce3e
N
24 - CONFIGURE_ARGS='-DPERL_GLOBAL_STRUCT'
25 - CONFIGURE_ARGS='-DPERL_GLOBAL_STRUCT_PRIVATE'
26 - CONFIGURE_ARGS='-Duseshrplib -Dusesitecustomize'
27 - CONFIGURE_ARGS='-Duserelocatableinc'
6f1b38bf 28
7d655fab 29# only use gcc on linux, and only use clang on osx for now
6f1b38bf
N
30matrix:
31 exclude:
32 - compiler: clang
33 os: linux
34 - compiler: gcc
35 os: osx
3135e2b2
TC
36
37script:
7d655fab
N
38 - ./Configure -des -Dusedevel -Uversiononly -Dcc="ccache $CC" $CONFIGURE_ARGS -Dprefix=$HOME/perl-blead -DDEBUGGING
39# all script commands are always run
40# rather than using one very long oneliner using '&&', just always check the build status
41 - if [ "x$TRAVIS_TEST_RESULT" = "x0" ]; then TEST_JOBS=$JOBS make -j$JOBS test_harness_notty; fi
42 - if [ "x$TRAVIS_TEST_RESULT" = "x0" ]; then make -j$JOBS install; fi
43 - if [ "x$TRAVIS_TEST_RESULT" = "x0" ]; then $HOME/perl-blead/bin/perlivp; fi
3135e2b2
TC
44
45addons:
46 apt:
47 packages:
48 - file
49 - cpio
50 - libdb-dev
51 - libgdbm-dev
52 - zlib1g-dev
53 - libbz2-dev
7d655fab
N
54
55notifications:
56## use dedicated email for smoking ?
57# email:
58# recipients:
59# - perl5-porters@perl.org
60# on_success: never # default: change
61# on_failure: always # default: always
62 irc:
63 nick: travisci
64 channels:
65 - "irc.perl.org#p5p-qa"
66# - "irc.perl.org#bot-test"
67 template:
68 - "Report for %{repository} (%{commit}) from %{author} (%{elapsed_time})"
69 - "Status: %{message}"
70 - "Build URL: %{build_url}"
71 - "GitHub URL: https://github.com/p5h/perl5demo/commit/%{commit}" # adjust this url to use the production repo
72 on_success: change # default: always
73 on_failure: always # default: always
b6a6ce3e 74# use_notice: true