From d7397bce19008f83d5a29a219aafc3f6a759ed26 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Mon, 29 Jun 2020 17:11:26 +0800 Subject: [PATCH] change VM timezone to GMT+8 to satisfy some test cases. [TD-788] --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index bb9ee5d430..48845c1f86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,6 +36,8 @@ matrix: - psmisc before_script: + - echo 'Asia/Harbin' | sudo tee /etc/timezone + - sudo dpkg-reconfigure --frontend --noninteractive tzdata - cd ${TRAVIS_BUILD_DIR} - mkdir debug - cd debug @@ -150,6 +152,8 @@ matrix: - DESC="trusty/gcc-4.8 build" before_script: + - echo 'Asia/Harbin' | sudo tee /etc/timezone + - sudo dpkg-reconfigure --frontend --noninteractive tzdata - cd ${TRAVIS_BUILD_DIR} - mkdir debug - cd debug @@ -173,6 +177,8 @@ matrix: - cmake before_script: + - echo 'Asia/Harbin' | sudo tee /etc/timezone + - sudo dpkg-reconfigure --frontend --noninteractive tzdata - cd ${TRAVIS_BUILD_DIR} - mkdir debug - cd debug @@ -197,6 +203,8 @@ matrix: - cmake before_script: + - echo 'Asia/Harbin' | sudo tee /etc/timezone + - sudo dpkg-reconfigure --frontend --noninteractive tzdata - cd ${TRAVIS_BUILD_DIR} - mkdir debug - cd debug @@ -225,6 +233,8 @@ matrix: - DESC="trusty/gcc-4.8 build" before_script: + - echo 'Asia/Harbin' | sudo tee /etc/timezone + - sudo dpkg-reconfigure --frontend --noninteractive tzdata - cd ${TRAVIS_BUILD_DIR} - mkdir debug - cd debug -- GitLab