Acting according to @BanzaiMan's advice in travis-ci/travis-ci/#1492.