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