Fix continous determination

See https://travis-ci.org/astropy/astropy/jobs/33619311