The travis job terminated successfully, but after_failure is called

look at @montana’s reply here on this thread: TRAVIS_BUILD_STAGE_NAME not populated - #5 by Montana