.travis.yml: corrected 'after_success' logic