(travis) Temporary pin LMU, work around RT#102853
[dbsrgits/DBIx-Class.git] / maint / travis-ci_scripts / 30_before_script.bash
index b13fda7..e667aa3 100755 (executable)
@@ -56,22 +56,10 @@ if [[ "$CLEANTEST" = "true" ]]; then
   # So instead we still use our stock (possibly old) CPAN, and add some
   # handholding
 
-  if [[ "$DEVREL_DEPS" == "true" ]] ; then
-    # FIXME - temporary workaround for https://github.com/rjbs/Test-Deep/issues/22
-    installdeps R/RJ/RJBS/Test-Deep-0.113.tar.gz
-
-    # We are not "quite ready" for SQLA 1.99, do not consider it
-    #
-    installdeps 'SQL::Abstract~<1.99'
-
-  else
-
-    if ! CPAN_is_sane ; then
-      # no configure_requires - we will need the usual suspects anyway
-      # without pre-installing these in one pass things like extract_prereqs won't work
-      installdeps ExtUtils::MakeMaker ExtUtils::CBuilder Module::Build
-    fi
-
+  if [[ "$DEVREL_DEPS" != "true" ]] && ! CPAN_is_sane ; then
+    # no configure_requires - we will need the usual suspects anyway
+    # without pre-installing these in one pass things like extract_prereqs won't work
+    installdeps ExtUtils::MakeMaker ExtUtils::CBuilder Module::Build
   fi
 
 else
@@ -86,6 +74,7 @@ else
   parallel_installdeps_notest File::Path
   parallel_installdeps_notest Carp
   parallel_installdeps_notest Module::Build
+  parallel_installdeps_notest R/RE/REHSACK/List-MoreUtils-0.406.tar.gz
   parallel_installdeps_notest File::Spec Data::Dumper Module::Runtime
   parallel_installdeps_notest Test::Exception Encode::Locale Test::Fatal
   parallel_installdeps_notest Test::Warn B::Hooks::EndOfScope Test::Differences HTTP::Status
@@ -114,19 +103,13 @@ if [[ "$CLEANTEST" = "true" ]]; then
 
     HARD_DEPS="$(echo $(make listalldeps))"
 
-    # FIXME - temporary workaround for https://github.com/rjbs/Test-Deep/issues/22
-    HARD_DEPS="$(sed 's/Test::Deep//' <<< $HARD_DEPS)"
-
   else
 
-    HARD_DEPS="$(echo $(make listdeps))"
+    HARD_DEPS="$(echo $(make listdeps | sort -R))"
 
 ##### TEMPORARY WORKAROUNDS needed in case we will be using a fucked CPAN.pm
     if ! CPAN_is_sane ; then
 
-      # FIXME - temporary workaround for https://github.com/rjbs/Test-Deep/issues/22
-      HARD_DEPS="R/RJ/RJBS/Test-Deep-0.113.tar.gz $HARD_DEPS"
-
       # DBD::SQLite reasonably wants DBI at config time
       perl -MDBI -e1 &>/dev/null || HARD_DEPS="DBI $HARD_DEPS"