Pkg on Travis: Behavior different on different platforms?

Julia Version 0.7.0-beta.133. This succeeds on Appveyor:

C:\projects\julia\bin\julia -e "import Pkg; Pkg.develop(\"https://github.com/PetrKryslUCSD/FinEtools.jl.git\"); Pkg.test(\"FinEtools\")"

while this fails on Travis (both Linux and MacOS):

julia -e 'import Pkg; Pkg.develop("https://github.com/PetrKryslUCSD/FinEtools.jl.git"); Pkg.test("FinEtools"; coverage=true)'

with the message
ERROR: Cannot add package with the same name or uuid as the project.

I’m confused. Any ideas?

The defaults script on Travis was updated.

You can change

Pkg.develop(\"https://github.com/PetrKryslUCSD/FinEtools.jl.git\"); Pkg.test(\"FinEtools\")"

to

Pkg.test()

and add the following to appveyor: https://github.com/JuliaLang/Compat.jl/commit/d8643fb7fca88a07c96ce30693b6f3924b833bb3#diff-180360612c6b8c4ed830919bbb4dd459

It is unfortunate that we dont have a default script for appveyor.

1 Like

Thanks, that worked.