提交 d7397bce 编写于 作者: S Shuduo Sang

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

[TD-788]
上级 18adfc16
...@@ -36,6 +36,8 @@ matrix: ...@@ -36,6 +36,8 @@ matrix:
- psmisc - psmisc
before_script: before_script:
- echo 'Asia/Harbin' | sudo tee /etc/timezone
- sudo dpkg-reconfigure --frontend --noninteractive tzdata
- cd ${TRAVIS_BUILD_DIR} - cd ${TRAVIS_BUILD_DIR}
- mkdir debug - mkdir debug
- cd debug - cd debug
...@@ -150,6 +152,8 @@ matrix: ...@@ -150,6 +152,8 @@ matrix:
- DESC="trusty/gcc-4.8 build" - DESC="trusty/gcc-4.8 build"
before_script: before_script:
- echo 'Asia/Harbin' | sudo tee /etc/timezone
- sudo dpkg-reconfigure --frontend --noninteractive tzdata
- cd ${TRAVIS_BUILD_DIR} - cd ${TRAVIS_BUILD_DIR}
- mkdir debug - mkdir debug
- cd debug - cd debug
...@@ -173,6 +177,8 @@ matrix: ...@@ -173,6 +177,8 @@ matrix:
- cmake - cmake
before_script: before_script:
- echo 'Asia/Harbin' | sudo tee /etc/timezone
- sudo dpkg-reconfigure --frontend --noninteractive tzdata
- cd ${TRAVIS_BUILD_DIR} - cd ${TRAVIS_BUILD_DIR}
- mkdir debug - mkdir debug
- cd debug - cd debug
...@@ -197,6 +203,8 @@ matrix: ...@@ -197,6 +203,8 @@ matrix:
- cmake - cmake
before_script: before_script:
- echo 'Asia/Harbin' | sudo tee /etc/timezone
- sudo dpkg-reconfigure --frontend --noninteractive tzdata
- cd ${TRAVIS_BUILD_DIR} - cd ${TRAVIS_BUILD_DIR}
- mkdir debug - mkdir debug
- cd debug - cd debug
...@@ -225,6 +233,8 @@ matrix: ...@@ -225,6 +233,8 @@ matrix:
- DESC="trusty/gcc-4.8 build" - DESC="trusty/gcc-4.8 build"
before_script: before_script:
- echo 'Asia/Harbin' | sudo tee /etc/timezone
- sudo dpkg-reconfigure --frontend --noninteractive tzdata
- cd ${TRAVIS_BUILD_DIR} - cd ${TRAVIS_BUILD_DIR}
- mkdir debug - mkdir debug
- cd debug - cd debug
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册