1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-05 00:27:25 +00:00
mailinabox/.travis.yml
2020-06-11 21:18:05 -04:00

38 lines
848 B
YAML

# travisci config
env:
global:
- PRIMARY_HOSTNAME=box.abc.com
language: shell
os: linux
dist: bionic
before_install:
- echo "==== ENVIRONMENT ===="
- env | sort
- echo "UMASK=$(umask)"
#
- echo "==== AppArmor Status ===="
- (sudo aa-status; true)
#
- echo "==== NETWORK INFO ===="
- hostname -I
- hostname -i
- hostname
- hostname --fqdn
- ip add
- sysctl -a 2>/dev/null | grep -i ipv6 | grep disable
install:
- sudo tests/system-setup/remote-nextcloud-docker.sh
- hostname || true
- hostname --fqdn || true
- getent hosts box.abc.com || true
script:
#
# launch automated tests, but skip tests that require remote
# smtp support because Travis-CI blocks outgoing port 25
- sudo touch /etc/dovecot/sieve-spam.svbin
- sudo tests/runner.sh -dumpoutput -no-smtp-remote default remote-nextcloud