File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,15 @@ addons:
2323 packages :
2424 - realpath
2525 - mailutils
26+ before_install :
27+ # - echo 'Africa/Johannesburg' | sudo tee /etc/timezone
28+ # - sudo dpkg-reconfigure --frontend noninteractive tzdata
29+ - export TZ=Africa/Johannesburg
2630install :
2731 - sudo add-apt-repository -y ppa:nginx/stable
2832 - sudo apt-get update
2933 - sudo apt-get install -y --force-yes nginx-extras
3034 # - travis-ci/install-nginx2.sh
31- before_script :
32- - echo 'Africa/Johannesburg' | sudo tee /etc/timezone
33- - sudo dpkg-reconfigure --frontend noninteractive tzdata
3435script :
3536 - travis-ci/install-nginx2.sh
3637 - curl -vsf 'http://localhost:9000/index.php' &> /dev/stdout
Original file line number Diff line number Diff line change 6161# nginx -c "$DIR/nginx/nginx.conf"
6262# echo $TRAVIS_BUILD_DIR
6363# Set TimeZone
64- sudo timedatectl set-timezone Africa/Johannesburg
64+ # sudo timedatectl set-timezone Africa/Johannesburg
6565sudo timedatectl status
66+ date
6667# End Set Timezone
6768sudo rm /etc/nginx/sites-available/default
6869sudo wget https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/install-ngxblocker -O /usr/sbin/install-ngxblocker
You can’t perform that action at this time.
0 commit comments