added some conditional code specific to TRAVIS