change VM timezone to GMT+8 to satisfy some test cases.

[TD-788]
This commit is contained in:
Shuduo Sang 2020-06-29 17:11:26 +08:00
parent 18adfc166a
commit d7397bce19
1 changed files with 10 additions and 0 deletions

View File

@ -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