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

question

#1

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?


#2

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


#3

How about julia test-script.jl?