I’ve been trying to figure out why https://github.com/JuliaDiffEq/DASKR.jl doesn’t work on Travis-CI (for Mac).
It seems that the problem is that gfortran isn’t available.
The .travis.yml file has the following:
addons:
apt_packages:
- gfortran
that seems to make sure that gfortran is available for Linux builds, however that doesn’t work for Mac builds.
The difference to @dpo’s version is an additional call to brew update before the install, which is recommended by the Travis CI documentation.
BTW, for my package, the brew calls take more time than the actual testing. If you encounter something similar, don’t try to speed those up by using Travis’ caching – I tried that, but retrieving the cache takes as long as the brew calls.