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:
23
23
packages :
24
24
- realpath
25
25
- mailutils
26
+ before_install :
27
+ # - echo 'Africa/Johannesburg' | sudo tee /etc/timezone
28
+ # - sudo dpkg-reconfigure --frontend noninteractive tzdata
29
+ - export TZ=Africa/Johannesburg
26
30
install :
27
31
- sudo add-apt-repository -y ppa:nginx/stable
28
32
- sudo apt-get update
29
33
- sudo apt-get install -y --force-yes nginx-extras
30
34
# - travis-ci/install-nginx2.sh
31
- before_script :
32
- - echo 'Africa/Johannesburg' | sudo tee /etc/timezone
33
- - sudo dpkg-reconfigure --frontend noninteractive tzdata
34
35
script :
35
36
- travis-ci/install-nginx2.sh
36
37
- curl -vsf 'http://localhost:9000/index.php' &> /dev/stdout
Original file line number Diff line number Diff line change 61
61
# nginx -c "$DIR/nginx/nginx.conf"
62
62
# echo $TRAVIS_BUILD_DIR
63
63
# Set TimeZone
64
- sudo timedatectl set-timezone Africa/Johannesburg
64
+ # sudo timedatectl set-timezone Africa/Johannesburg
65
65
sudo timedatectl status
66
+ date
66
67
# End Set Timezone
67
68
sudo rm /etc/nginx/sites-available/default
68
69
sudo 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