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

change way to set timezone.

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