ci(travis): clear Build config validation items & general refresh

* https://travis-ci.org/github/poljar/weechat-matrix/builds/685282618/config

```
Build config validation

root: deprecated key sudo (The key `sudo` has no effect anymore.)
root: missing os, using the default linux
```
This commit is contained in:
Imran Iqbal 2020-05-10 13:10:07 +01:00
parent d415841662
commit da23da659b
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819

View file

@ -1,21 +1,26 @@
language: python ---
dist: xenial ## Machine config
sudo: false os: "linux"
arch: "amd64"
dist: "bionic"
version: "~> 1.0"
## Language config
language: "python"
python: python:
- "3.6" - "3.6"
- "3.7" - "3.7"
- "3.8" - "3.8"
before_install: before_install:
- wget https://gitlab.matrix.org/matrix-org/olm/-/archive/master/olm-master.tar.bz2 - wget https://gitlab.matrix.org/matrix-org/olm/-/archive/master/olm-master.tar.bz2
- tar -xvf olm-master.tar.bz2 - tar -xvf olm-master.tar.bz2
- pushd olm-master && make && sudo make PREFIX="/usr" install && popd - pushd olm-master && make && sudo make PREFIX="/usr" install && popd
- rm -r olm-master - rm -r olm-master
install: install:
- pip install -r requirements.txt - pip install -r requirements.txt
- pip install pytest - pip install pytest
- pip install hypothesis - pip install hypothesis
script: script: python -m pytest
python -m pytest