Skip to content

Commit

Permalink
work around Travis timezone conundrum
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Maloney committed Apr 10, 2017
1 parent be345dc commit 7b98c07
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b98c07

Please sign in to comment.