Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis CI: Use addons.apt.packages #8

Merged
merged 2 commits into from
Sep 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,21 @@ language: python
# We need to run this program on different Linux/BSD distributions, each ships
# different Python versions.
python:
# CentOS 7
- "3.4"
# Debian 9
- "3.5"
# Ubuntu 18.04
- "3.6"
# Debian 10
- "3.7"
- "3.4" # CentOS 7
- "3.5" # Debian 9
- "3.6" # Ubuntu 18.04
- "3.7" # Debian 10

addons:
apt:
update: true
packages:
- mlmmj
- uwsgi
- uwsgi-plugin-python

before_install:
- pip install --upgrade pip
- sudo apt-get install mlmmj uwsgi uwsgi-plugin-python
- sudo mkdir -p /var/vmail
- sudo chmod 0755 /var/vmail
- sudo groupadd mlmmj
Expand Down