change condition after reading
http://docs.travis-ci.com/user/ci-environment/