This is typical problem I have when working with GitHub and the solution seems to be undocumented:
- I have an unregistered package 
Aon GitHub - I have an unregistered package 
Bon GitHub - the package 
Breferences the packageA 
When testing package B locally I can typically issue a command such as Pkg.add(PackageSpec(url="https://github.com/pszufe/A.jl")) and then run tests.
However, I do not know what is the standard practice for the .travis.yml for the package B?
Now I just add to every place in .travis.yml the command above  but it looks kind of ugly.
This also means that I can not run the default Julia Travis configuration (this is the one that executes command julia --color=yes -e "if VERSION < v\"0.7.0-DEV.5183\"; Pkg.clone(pwd()); Pkg.build(\"${JL_PKG}\"); else using Pkg; if VERSION >= v\"1.1.0-rc1\"; Pkg.build(verbose=true); else Pkg.build(); end; end") because it will obviously fail with the A has no known versions! message.
I also tried running Pkg.add on activated B package but the modifications made to the *.toml files do not seem to help Travis to successfully build.
Is there any nice Julian way to configure such dependency or am I forced to poke Pkg.add(PackageSpec(url="..")) everywhere?