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