add TRAVIS_CMD and TRAVIS_STAGE, have a nicer error message for travis_assert