From 1b1f78917665175d8e073bc761a67cb062658bbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Thu, 1 Jul 2021 16:52:48 +0200 Subject: [PATCH] switch to travis --- .circleci/config.yml | 27 --------------------------- .travis.yml | 24 ++++++++++++++++++++++++ README.md | 2 +- 3 files changed, 25 insertions(+), 28 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .travis.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index cbbaebb..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,27 +0,0 @@ -version: 2.1 - -orbs: - python: circleci/python@0.2.1 - -jobs: - build-and-test: - executor: python/default - steps: - - checkout - - python/load-cache - - python/install-deps - - python/save-cache - - run: - command: | - sudo python setup.py install - name: Install snakehouse - - run: - command: | - cd example - DEBUG=1 python setup.py test - name: Test - -workflows: - main: - jobs: - - build-and-test diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..f79890d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: python +stages: + - name: test + +cache: pip +before_script: + - python setup.py install +script: + - cd example + - DEBUG=1 python setup.py test +jobs: + include: + - stage: test + python: "3.5" + - stage: test + python: "3.6" + - stage: test + python: "3.7" + - stage: test + python: "3.8" + - stage: test + python: "3.9" + - stage: test + python: "pypy3.5" diff --git a/README.md b/README.md index a87ae89..c12cd0f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ snakehouse ========== -[](https://github.com/smok-serwis/snakehouse) +[](https://travis-ci.com/smok-serwis/snakehouse) [](https://codeclimate.com/github/smok-serwis/snakehouse) [](https://codeclimate.com/github/smok-serwis/snakehouse) [](https://pypi.python.org/pypi/snakehouse) -- GitLab