Julia -L invocation equivalent to julia -e (for CI)

My script line in .travis.yml is getting too long (checking out master versions, unregistered packages, etc). I would like to replace

julia -e 'tons of stuff'

with

julia -L test-script.jl

and move all the commands to the above script. However, once the tests terminate, the prompt is just waiting. How should I end it? I thought of exit(0), but I am unsure how test results are communicated to the caller, would this be OK?

julia -e include("test-script.jl")
?

How about julia test-script.jl?

4 Likes