added timeout for notebook building

This commit is contained in:
Jukka Aho
2015-08-01 16:09:56 +03:00
parent 8009aab1bd
commit cda127f4ae
+1 -1
View File
@@ -55,7 +55,7 @@ function run_notebooks()
# port = 34211+k # we're having some weird port issue with zmq
# k += 1
try
run(`runipy -o tutorials/$ipynb --kernel=julia-0.4`)
run(`timeout 180 runipy -o tutorials/$ipynb --kernel=julia-0.4`)
status = 0
catch
println("did not work")