Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 59 lines (52 sloc) 2.985 kB
c662128 @leto [ci] Tell Travis to use a perl worker and test under perl 5.10 and 5.14
leto authored
1 language: "perl"
2 perl:
c7f99d7 @leto [ci] Only run Travis on the master branch and only on 5.14 for now
leto authored
3 # - "5.10"
5555d82 @leto [ci] Perl versions must be quoted because they are strings
leto authored
4 - "5.14"
86ddac4 @leto [ci] Specify a dummy install command so cpanminus is not invoked, sin…
leto authored
5 install: "echo"
81051fb @leto [ci] See how Travis CI likes our full test suite
leto authored
6 before_script:
a64c4ed @rurban [travis] add apt-get update, remove llvm-dev gcc-multilib
rurban authored
7 - sudo apt-get update
8 - sudo apt-get install libffi-dev libicu-dev libgmp3-dev clang zlib1g-dev
479c806 @rurban [travis] allow_failures for codingstd_tests
rurban authored
9 # No, we are not going to run the tests for all these dependencies on every commit
5264436 @rurban [ci] travis back to irc old-style, Test::Perl::Critic, typos
rurban authored
10 - cpanm -n LWP::UserAgent TAP::Harness::Archive TAP::Harness::ReportByDescription Test::Perl::Critic
48a2a41 @leto [travis] Get all the details about which compiler versions are being …
leto authored
11 - gcc --version
12 - g++ --version
13 - clang --version
c662128 @leto [ci] Tell Travis to use a perl worker and test under perl 5.10 and 5.14
leto authored
14 # This stuff used to be required, but was rolled into the Travis CI perl support.
15 # - curl -L http://cpanmin.us | sudo perl - --self-upgrade
16 # - export CI_USER=$USER
17 # - mkdir ~/perl5 && perl -Mlocal::lib >> /tmp/local_lib_junk.sh && source /tmp/local_lib_junk.sh
18 # - sudo chown -R $CI_USER ~/.cpanm
19 # - sudo chown -R $CI_USER ~/perl5
f079fc5 @leto [ci] Remove Configure.pl build tests in attempt to reduce test time b…
leto authored
20
21 # Don't run Configure.pl tests, for now
22 #script: "perl Configure.pl --test=build $PARROT_CONFIG_ARGS $PARROT_OPTIMIZE --cc=\"$CC\" --link=\"$CC\" --ld=\"$CC\" --ccflags='-g' ; make $PARROT_TEST"
23
b98c915 @rurban [travis] add testO2 test, and use more --optimize for faster tests
rurban authored
24 script: "perl Configure.pl $PARROT_CONFIG_ARGS $PARROT_OPTIMIZE --cc=\"$CC\" --link=\"$CC\" --ld=\"$CC\"; make $PARROT_TEST"
f079fc5 @leto [ci] Remove Configure.pl build tests in attempt to reduce test time b…
leto authored
25
c7f99d7 @leto [ci] Only run Travis on the master branch and only on 5.14 for now
leto authored
26 branches:
91e3690 @rurban .travis: whitespace only
rurban authored
27 only:
28 - master
29 - /smoke-me/
479c806 @rurban [travis] allow_failures for codingstd_tests
rurban authored
30
2d8947b @leto Add a Travis CI config file
leto authored
31 notifications:
32 recipients:
0716f33 @leto [ci skip] Spam parrot-ci instead of parrot-dev with build reports
leto authored
33 - parrot-ci@lists.parrot.org
2d8947b @leto Add a Travis CI config file
leto authored
34 email:
35 on_success: change
36 on_failure: always
5264436 @rurban [ci] travis back to irc old-style, Test::Perl::Critic, typos
rurban authored
37 irc: "irc.parrot.org#parrot"
479c806 @rurban [travis] allow_failures for codingstd_tests
rurban authored
38
81051fb @leto [ci] See how Travis CI likes our full test suite
leto authored
39 env:
479c806 @rurban [travis] allow_failures for codingstd_tests
rurban authored
40 matrix:
41 # use --optimize for most since it's stable and runs fastest
b98c915 @rurban [travis] add testO2 test, and use more --optimize for faster tests
rurban authored
42 - PARROT_CONFIG_ARGS="" PARROT_OPTIMIZE="--optimize" PARROT_TEST="smoke" CC="clang"
3aca526 @leto [ci] Just run 'make smoke' instead of 'make smolder_fulltest' due to …
leto authored
43 - PARROT_CONFIG_ARGS="--without-gettext --without-gmp --without-libffi --without-extra-nci-thunks --without-opengl --without-readline --without-pcre --without-zlib --without-threads --without-icu" PARROT_OPTIMIZE="" PARROT_TEST="smoke" CC="clang"
b98c915 @rurban [travis] add testO2 test, and use more --optimize for faster tests
rurban authored
44 - PARROT_CONFIG_ARGS="" PARROT_OPTIMIZE="--optimize" PARROT_TEST="smoke" CC="gcc"
3aca526 @leto [ci] Just run 'make smoke' instead of 'make smolder_fulltest' due to …
leto authored
45 - PARROT_CONFIG_ARGS="--without-gettext --without-gmp --without-libffi --without-extra-nci-thunks --without-opengl --without-readline --without-pcre --without-zlib --without-threads --without-icu" PARROT_OPTIMIZE="" PARROT_TEST="smoke" CC="gcc"
b98c915 @rurban [travis] add testO2 test, and use more --optimize for faster tests
rurban authored
46 - PARROT_CONFIG_ARGS="" PARROT_OPTIMIZE="--optimize" PARROT_TEST="smoke" CC="g++"
47 - PARROT_CONFIG_ARGS="" PARROT_OPTIMIZE="--optimize" PARROT_TEST="testO2" CC="clang"
479c806 @rurban [travis] allow_failures for codingstd_tests
rurban authored
48 # Use clang to run our coding standard and manifest tests, because it is the fastest
49 # These will cause Travis to report a build failure when somebody breaks the manifest
50 # tests by forgetting to add files to our manifest, or when they break our coding standards.
51 # The reason we do not use smolder_fulltest is because it will intermittently trigger
52 # the Travis CI time-out of 15 minutes.
b98c915 @rurban [travis] add testO2 test, and use more --optimize for faster tests
rurban authored
53 - PARROT_CONFIG_ARGS="" PARROT_OPTIMIZE="--optimize" PARROT_TEST="codingstd_tests" CC="clang"
54 - PARROT_CONFIG_ARGS="" PARROT_OPTIMIZE="--optimize" PARROT_TEST="manifest_tests" CC="clang"
479c806 @rurban [travis] allow_failures for codingstd_tests
rurban authored
55
56 matrix:
57 allow_failures:
58 - env: PARROT_CONFIG_ARGS="" PARROT_OPTIMIZE="--optimize" PARROT_TEST="codingstd_tests" CC="clang"
Something went wrong with that request. Please try again.