diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index cbbaebb3e25d697109f34b9e93de4f941b221928..0000000000000000000000000000000000000000 --- 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 0000000000000000000000000000000000000000..f79890dbb59e5150bd819663659561b719bf2cf4 --- /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 a87ae899485c48074ef8d537d0052ef5f2ff1e23..c12cd0f709ed3bac936a663112c6ef1b1f4be1e0 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)