Permalink
Browse files

travis: use the faster docker images

no sudo, use apt packages instead.
also use perl 5.20 (5.22 would be best)
  • Loading branch information...
Reini Urban
Reini Urban committed Oct 19, 2015
1 parent af81628 commit 82681f177a9e93f7723e99bd49778bedd4039402
Showing with 12 additions and 10 deletions.
  1. +12 −10 .travis.yml
View
@@ -1,22 +1,24 @@
language: "perl"
perl:
# - "5.10"
- "5.14"
- "5.20"
install: "echo"
sudo: false
addons:
apt:
packages:
- build-essential
- libtool
- libffi-dev
- libicu-dev
- libgmp3-dev
- zlib1g-dev
before_script:
- sudo apt-get update
- sudo apt-get install libffi-dev libicu-dev libgmp3-dev clang zlib1g-dev
# No, we are not going to run the tests for all these dependencies on every commit
- cpanm -n LWP::UserAgent TAP::Harness::Archive TAP::Harness::ReportByDescription Test::Perl::Critic
- gcc --version
- g++ --version
- clang --version
# This stuff used to be required, but was rolled into the Travis CI perl support.
# - curl -L http://cpanmin.us | sudo perl - --self-upgrade
# - export CI_USER=$USER
# - mkdir ~/perl5 && perl -Mlocal::lib >> /tmp/local_lib_junk.sh && source /tmp/local_lib_junk.sh
# - sudo chown -R $CI_USER ~/.cpanm
# - sudo chown -R $CI_USER ~/perl5
# Don't run Configure.pl tests, for now
#script: "perl Configure.pl --test=build $PARROT_CONFIG_ARGS $PARROT_OPTIMIZE --cc=\"$CC\" --link=\"$CC\" --ld=\"$CC\" --ccflags='-g' ; make $PARROT_TEST"

0 comments on commit 82681f1

Please sign in to comment.