sudo: required
language: python
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"

jobs:
  include:
    - dist: xenial
      python: "3.7"

before_install:
  - wget https://matrix.org/git/olm/snapshot/olm-2.2.2.tar.bz2
  - tar -xvf olm-2.2.2.tar.bz2
  - pushd olm-2.2.2 && make && sudo make PREFIX="/usr" install && popd
  - rm -r olm-2.2.2
install: pip install tox-travis
script: tox

sudo: false
language: python
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"

jobs:
  include:
    - dist: xenial
      python: "3.7"

before_install:
  - wget https://matrix.org/git/olm/snapshot/olm-2.2.2.tar.bz2
  - tar -xvf olm-2.2.2.tar.bz2
  - pushd olm-2.2.2 && make && sudo make PREFIX="/usr" install && popd
  - rm -r olm-2.2.2
install: pip install tox-travis
script: tox

Revert "Explicitly declare sudo for Travis"
Revert "Explicitly declare sudo for Travis"

This reverts commit f0b1603663f1e61085f27cbdd4c24fdfec88d728.
It was a workaround a temporary Travis issue.

Signed-off-by: Valentin Deniaud <5430207d56eab42acfd1dfc1a4cee43904470268@inpt.fr>
