Permalink
Browse files

add initial Travis-CI config

  • Loading branch information...
rsrchboy committed Mar 21, 2013
1 parent 566bea5 commit 0baa345ff61740802ac36c14254dbe62962bf8ed
Showing with 28 additions and 0 deletions.
  1. +28 −0 .travis.yml
View
@@ -0,0 +1,28 @@
+language: perl
+perl:
+ - "5.16"
+ - "5.14"
+ - "5.12"
+ - "5.10"
+
+install:
+ # git bits sometimes needed...
+ - git config user.name 'Travis-CI'
+ - git config user.email 'travis@nowhere.dne'
+
+ # echo "# Deal with all of the DZIL dependancies, quickly and quietly"
+ - rm -rf ~/.cpanm
+ - mkdir ~/.cpanm
+ - sudo mount tmpfs -t tmpfs ~/.cpanm
+ - cpanm --quiet --notest --skip-satisfied Dist::Zilla
+ - dzil authordeps | grep -vP '[^\w:]' | xargs -n 5 -P 10 cpanm --quiet --notest --skip-satisfied
+
+ # echo "# for LinkCheck"
+ - cpanp x
+
+ - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
+ - dzil listdeps | grep -vP '[^\w:]' | cpanm --verbose
+
+script:
+ - export DZSIGN=archive
+ - dzil smoke --release --author

0 comments on commit 0baa345

Please sign in to comment.