mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-05 00:27:25 +00:00
33 lines
843 B
YAML
33 lines
843 B
YAML
# travisci config
|
|
env:
|
|
global:
|
|
- NONINTERACTIVE=1
|
|
- SKIP_NETWORK_CHECKS=1
|
|
- PRIMARY_HOSTNAME=box.abc.com
|
|
|
|
language: shell
|
|
os: linux
|
|
dist: bionic
|
|
|
|
before_install:
|
|
- echo "==== DUMP ENVIRONMENT ===="
|
|
- env
|
|
- echo "==== DUMP AppArmor Status ===="
|
|
- (sudo aa-status; true)
|
|
- echo "==== DUMP Other ===="
|
|
- echo "UMASK=$(umask)"
|
|
- echo "==== System update ===="
|
|
- sudo apt-get update
|
|
- echo "==== Install QA/test data ===="
|
|
- sudo apt-get -y install python3-dnspython
|
|
- sudo mkdir -p /home/user-data/ssl
|
|
- sudo cp ./tests/assets/ssl/dh2048.pem /home/user-data/ssl
|
|
- echo "==== Add the PRIMARY_HOSTNAME to /etc/hosts ===="
|
|
- sudo echo "$(source setup/functions.sh; get_default_privateip 4) $PRIMARY_HOSTNAME" >> /etc/hosts
|
|
|
|
install:
|
|
- sudo ./setup/start.sh -v
|
|
|
|
script:
|
|
- sudo ./tests/runner.sh -dumpoutput
|