Permalink
Browse files

CI: Use cpanm, and don't break on Perl <5.18.

  • Loading branch information...
1 parent 2eacc21 commit 67a70164f9df1ca67f6e31101a16562f593188a2 @tkrajcar tkrajcar committed Apr 4, 2016
Showing with 3 additions and 2 deletions.
  1. +2 −1 .travis.yml
  2. +1 −1 test/PennMUSH.pm
View
@@ -6,7 +6,8 @@ before_script:
- ./configure
- yes "" | make update
- make
- - cpan install IO::Socket::IP
+ - curl -L https://cpanmin.us/ -o cpanm && chmod +x cpanm
+ - ./cpanm IO::Socket::IP
script: make test
env:
global:
View
@@ -6,7 +6,7 @@ use File::Path;
use MUSHConnection;
use POSIX qw/:sys_wait_h/;
use feature qw/say/;
-no warnings qw/experimental::smartmatch/;
+no if $] >= 5.017011, warnings => 'experimental::smartmatch'; # Don't blow up on Perls older than 5.18
my @pids = ();

0 comments on commit 67a7016

Please sign in to comment.