The documentation on Travis says "The package name $name is determined based on the repository name, removing the trailing .jl if present. A repository is treated as a Julia package when it contains a file at src/$name.jl. If your repository does not follow this structure, then the default script will be empty.". I thought this was the case, but apparently not so.
- the repo being shallow (i recall I bumped into this before)
- the $name could not be resolved.
I think I found a working script (in part reversing the julia language support)
sudo: false
before_install:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
script:
- julia --check-bounds=yes -e 'versioninfo(); Pkg.init(); Pkg.clone(pwd()); Pkg.build("GaussianMixtures"); Pkg.test("GaussianMixtures", coverage=VERSION < v"0.4.0-dev")'
So thanks for all the help, it now works!
Cheers,
---david