Backport 1.8 3773

Backport #3773: `ENH: Add gfortran to travis.yml configuration to enable f2py.`