Skip to content

Commit 4e6103e

Browse files
set timezone in travis.yml
1 parent 3ab829d commit 4e6103e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ install:
2828
- sudo apt-get update
2929
- sudo apt-get install -y --force-yes nginx-extras
3030
#- travis-ci/install-nginx2.sh
31+
before_script:
32+
- echo 'Africa/Johannesburg' | sudo tee /etc/timezone
33+
- sudo dpkg-reconfigure --frontend noninteractive tzdata
3134
script:
3235
- travis-ci/install-nginx2.sh
3336
- curl -vsf 'http://localhost:9000/index.php' &> /dev/stdout

0 commit comments

Comments
 (0)