I noticed that testing of my package on Travis is broken with Julia 1.0/nightly (using the
travis.yml that was recommended in the past):
$ julia -e ‘Pkg.clone(pwd()); Pkg.build(“FortranFiles”); Pkg.test(“FortranFiles”; coverage=true)’
ERROR: UndefVarError: Pkg not defined
Of course this is easy to fix, just need to add
using Pkg. But then the Travis script will not work on Julia 0.6. I’m not very familiar with Travis, so what’s the best way to run different test scripts for different Julia versions?