use waitTime variable and check for TRAVIS env