From 919e4a5c9fabefd18ef291e02c9b616658306bb1 Mon Sep 17 00:00:00 2001 From: Maxim Kurnikov Date: Mon, 12 Nov 2018 16:24:04 +0300 Subject: [PATCH] add travis config --- .travis.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..a204c6e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +language: python +# cache package wheels (1 cache per python version) +cache: pip +# newer python versions are available only on xenial (while some older only on trusty) Ubuntu distribution +dist: xenial +sudo: required + +jobs: + include: + - name: "run test suite with python 3.7" + python: 3.7 + script: | + set -e + pytest + +before_install: | + # Upgrade pip, setuptools, and wheel + pip install -U pip setuptools wheel + +install: | + pip install -r ./dev-requirements.txt