Skip to content

Commit

Permalink
stop looping over versions since it makes failures take longer
Browse files Browse the repository at this point in the history
  • Loading branch information
tkelman committed Jul 30, 2016
1 parent 6d6b4e5 commit 56b3e8a
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,16 +138,7 @@ do
# standard for build time and memory consumption, see
# https://github.com/IainNZ/PackageEvaluator.jl/issues/83
# The log for adding the package will go in the results folder.
timeout 1800s julia -e "pkg = \"${PKGNAME}\"
for v in reverse(Pkg.available(pkg))
try
Pkg.add(pkg, v)
break
catch err
warn(err)
end
end
Pkg.add(pkg)" 2>&1 | tee PKGEVAL_${PKGNAME}_add.log
timeout 1800s julia -e "Pkg.add(\"${PKGNAME}\")" 2>&1 | tee PKGEVAL_${PKGNAME}_add.log
# A package can have four states:
# - Not testable: for some reason, we can't even analyze how
# broken or not the package is, usually due to a limitation
Expand Down

0 comments on commit 56b3e8a

Please sign in to comment.