From 7b98c071f1d3d1059b5cc0b0572b8042ab66edc1 Mon Sep 17 00:00:00 2001 From: Evan Maloney Date: Mon, 10 Apr 2017 11:23:11 -0400 Subject: [PATCH] work around Travis timezone conundrum --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 86f86d4b..3e337939 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,12 +7,13 @@ git: submodules: false before_install: + - sudo systemsetup -settimezone America/New_York # temporary hack: NYC timezone is required for some MBDataEnvironment date-related unit tests - git submodule update --init install: - gem install xcpretty --no-rdoc --no-ri --no-document --quiet - - rm -rf ~/Library/Developer/CoreSimulator - - sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService + - rm -rf ~/Library/Developer/CoreSimulator # these two lines are a hack around a recurring Travis problem: multiple versions of the + - sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService # same simulator: https://github.com/travis-ci/travis-ci/issues/7580#issuecomment-292974395 script: - ./BuildControl/bin/travisBuildHelper.sh build iOS