From da23da659ba5b6d0de95590d3a65438cfa47b9d8 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Sun, 10 May 2020 13:10:07 +0100 Subject: [PATCH] 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 ``` --- .travis.yml | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7b5a66e..ee468f5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,21 +1,26 @@ -language: python -dist: xenial -sudo: false +--- +## Machine config +os: "linux" +arch: "amd64" +dist: "bionic" +version: "~> 1.0" + +## Language config +language: "python" python: - - "3.6" - - "3.7" - - "3.8" + - "3.6" + - "3.7" + - "3.8" 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 + - 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 install: - - pip install -r requirements.txt - - pip install pytest - - pip install hypothesis + - pip install -r requirements.txt + - pip install pytest + - pip install hypothesis -script: - python -m pytest +script: python -m pytest