mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
e5e3f361c2
The dbus tests require system packages on travis but that limits us to using the system provided python version which is 3.4 currently.
31 lines
667 B
YAML
31 lines
667 B
YAML
language: python
|
|
dist: xenial
|
|
sudo: false
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libdbus-1-dev
|
|
- libgirepository1.0-dev
|
|
|
|
before_install:
|
|
- wget https://gitlab.matrix.org/matrix-org/olm/-/archive/master/olm-master.tar.bz2
|
|
- tar -xvf olm-master.tar.bz2
|
|
- pushd olm-master && make && sudo make PREFIX="/usr" install && popd
|
|
- rm -r olm-master
|
|
|
|
matrix:
|
|
include:
|
|
- python: 3.6
|
|
env: TOXENV=py36
|
|
- python: 3.7
|
|
env: TOXENV=py37
|
|
- python: 3.7
|
|
env: TOXENV=coverage
|
|
|
|
install: pip install tox-travis gobject PyGObject dbus-python
|
|
script: tox
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|