Switch to script lifecycle step for Travis-CI