add conditional for test coverage

travis-ci only has secure variables available when a pull is from a
branch of gonum.  This conditional makes it so that coverage is only
calculated when the coveralls api key is available.