File tree Expand file tree Collapse file tree 4 files changed +31
-2
lines changed
Expand file tree Collapse file tree 4 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 1+ language : bash
2+ sudo : enabled
3+
4+ env :
5+ global :
6+ - NONINTERACTIVE=1
7+ - PUBLIC_IP=auto
8+ - PUBLIC_IPV6=auto
9+ - PRIMARY_HOSTNAME=auto
10+ - SKIP_NETWORK_CHECKS=1
11+
12+ before_script :
13+ - sudo sed -i "s/^127.0.1.1.*/127.0.1.1\t$HOSTNAME.example.com\t$HOSTNAME/" /etc/hosts
14+ - sudo apt-get -yqq update
15+ - sudo apt-get -yqq dist-upgrade
16+ - sudo rm -f /opt/jdk_switcher/jdk_switcher.sh
17+
18+ script :
19+ - sudo setup/start.sh
20+ - curl -IkL "https://$HOSTNAME/"
21+ - curl -IkL "https://$HOSTNAME/admin"
22+ - curl -IkL "https://$HOSTNAME/mail/"
23+ - curl -IkL "https://$HOSTNAME/cloud/"
24+ - bash -c 'shopt -s globstar; shellcheck -s bash **/*.sh || true'
25+ # - cd test
26+ # - pip install -r requirements.txt
27+ # - pytest
Original file line number Diff line number Diff line change 1+ [ ![ Build Status] ( https://travis-ci.org/mail-in-a-box/mailinabox.svg?branch=master )] ( https://travis-ci.org/mail-in-a-box/mailinabox )
2+
13Mail-in-a-Box
24=============
35
Original file line number Diff line number Diff line change 2929#
3030# certbot installs EFF's certbot which we use to
3131# provision free TLS certificates.
32- apt_install duplicity python-pip python-virtualenv certbot
32+ apt_install duplicity python-pip python-virtualenv certbot python-certbot-nginx
3333hide_output pip2 install --upgrade boto
3434
3535# Create a virtualenv for the installation of Python 3 packages
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ echo "Mail-in-a-Box uses Let's Encrypt to provision free SSL/TLS certificates"
141141echo " to enable HTTPS connections to your box. We're automatically"
142142echo " agreeing you to their subscriber agreement. See https://letsencrypt.org."
143143echo
144- certbot register --register-unsafely-without-email --agree-tos --config-dir $STORAGE_ROOT /ssl/lets_encrypt
144+ certbot register -n - -register-unsafely-without-email --agree-tos --config-dir $STORAGE_ROOT /ssl/lets_encrypt
145145fi
146146
147147# Done.
You can’t perform that action at this time.
0 commit comments