From 3b7a1a5631d75d65f106e8ff7fa2cc977a1f3ab1 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Wed, 10 Feb 2021 17:50:34 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Replace=20Travis=20with=20Circle?= =?UTF-8?q?CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 20 ++++++++++++++++++++ .travis.yml | 16 ---------------- 2 files changed, 20 insertions(+), 16 deletions(-) create mode 100644 .circleci/config.yml delete mode 100644 .travis.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..5e26032 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,20 @@ +version: 2.1 + +jobs: + test: + docker: + - image: circleci/python:<< parameters.python-version >> + steps: + - run: locale-gen "en_US.UTF-8"; update-locale LC_ALL="en_US.UTF-8" + - checkout + - run: pip3 install --upgrade pip + - run: pip3 install -r requirements.txt + - run: pytest + +workflows: + all-tests: + jobs: + - test: + matrix: + parameters: + python-version: ["3.5", "3.6", "3.7", "3.8", "3.9"] diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b854ff3..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -dist: xenial # required for Python >= 3.7 -language: python -cache: pip -python: - - "3.5" - - "3.6" - - "3.7" - - "3.8" - - "3.9" - - -install: - - pip install -r requirements.txt - -script: - - pytest