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:
parent
d415841662
commit
da23da659b
1 changed files with 20 additions and 15 deletions
35
.travis.yml
35
.travis.yml
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue