(travis) Make sure DEVREL_DEPS + CLEANTEST-false behaves as intended
[dbsrgits/DBIx-Class.git] / maint / travis-ci_scripts / 30_before_script.bash
index d5f3cd0..24515a8 100755 (executable)
@@ -142,7 +142,12 @@ else
 
   run_or_err "Configure on current branch with --with-optdeps" "perl Makefile.PL --with-optdeps"
 
-  parallel_installdeps_notest "$(make listdeps | sort -R)"
+  # if we are smoking devrels - make sure we upgrade everything we know about
+  if [[ "$DEVREL_DEPS" == "true" ]] ; then
+    parallel_installdeps_notest "$(make listalldeps | sort -R)"
+  else
+    parallel_installdeps_notest "$(make listdeps | sort -R)"
+  fi
 
   run_or_err "Re-configure with --with-optdeps" "perl Makefile.PL --with-optdeps"
 fi