Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 committed Oct 19, 2015
1 parent af81628 commit 82681f1
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .travis.yml
@@ -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"
Expand Down

0 comments on commit 82681f1

Please sign in to comment.