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

change way to set timezone.

上级 2dbc8048
...@@ -36,8 +36,7 @@ matrix: ...@@ -36,8 +36,7 @@ matrix:
- psmisc - psmisc
before_script: before_script:
- echo 'Asia/Harbin' | sudo tee /etc/timezone - sudo timedatectl set-timezone Asia/Harbin
- sudo dpkg-reconfigure --frontend --noninteractive tzdata
- cd ${TRAVIS_BUILD_DIR} - cd ${TRAVIS_BUILD_DIR}
- mkdir debug - mkdir debug
- cd debug - cd debug
...@@ -152,8 +151,7 @@ matrix: ...@@ -152,8 +151,7 @@ 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 timedatectl set-timezone Asia/Harbin
- sudo dpkg-reconfigure --frontend --noninteractive tzdata
- cd ${TRAVIS_BUILD_DIR} - cd ${TRAVIS_BUILD_DIR}
- mkdir debug - mkdir debug
- cd debug - cd debug
...@@ -177,8 +175,7 @@ matrix: ...@@ -177,8 +175,7 @@ matrix:
- cmake - cmake
before_script: before_script:
- echo 'Asia/Harbin' | sudo tee /etc/timezone - sudo timedatectl set-timezone Asia/Harbin
- sudo dpkg-reconfigure --frontend --noninteractive tzdata
- cd ${TRAVIS_BUILD_DIR} - cd ${TRAVIS_BUILD_DIR}
- mkdir debug - mkdir debug
- cd debug - cd debug
...@@ -203,8 +200,7 @@ matrix: ...@@ -203,8 +200,7 @@ matrix:
- cmake - cmake
before_script: before_script:
- echo 'Asia/Harbin' | sudo tee /etc/timezone - sudo timedatectl set-timezone Asia/Harbin
- sudo dpkg-reconfigure --frontend --noninteractive tzdata
- cd ${TRAVIS_BUILD_DIR} - cd ${TRAVIS_BUILD_DIR}
- mkdir debug - mkdir debug
- cd debug - cd debug
...@@ -233,8 +229,7 @@ matrix: ...@@ -233,8 +229,7 @@ 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 timedatectl set-timezone Asia/Harbin
- 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.
先完成此消息的编辑!
想要评论请 注册