diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000000000000000000000000000000000000..745bd4a43297ecde40ac19f5700f81caeedae5fc --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,27 @@ +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: | + pip install -r requirements.txt + name: Install necessary modules + - 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 deleted file mode 100644 index e9163856c4ed4191ff33d61ab83dd41451e249b4..0000000000000000000000000000000000000000 --- a/.travis.yml +++ /dev/null @@ -1,52 +0,0 @@ -language: python -python: - - "3.5" - - "3.6" - - "3.7" - - "3.8" - - "nightly" -jobs: - include: - - stage: test - python: "3.5" - env: - - DEBUG=1 - script: - - cd example - - python setup.py test - - stage: test - python: "3.6" - env: - - DEBUG=1 - script: - - cd example - - python setup.py test - - stage: test - python: "3.7" - env: - - DEBUG=1 - script: - - cd example - - python setup.py test - - stage: test - python: "3.8" - env: - - DEBUG=1 - script: - - cd example - - python setup.py test - - stage: test - python: "nightly" - env: - - DEBUG=1 - script: - - cd example - - python setup.py test -cache: pip -install: - - pip install -r requirements.txt - - python setup.py install -after_success: - - cd .. - - bash build.sh - diff --git a/README.md b/README.md index cb8b2bf2ef31e4a26e0e83657b4036615dc7a38c..f8fcd822bf0ff815da33e7ecd21a99d74f640475 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ snakehouse ========== -[](https://travis-ci.org/smok-serwis/snakehouse) +[](https://github.com/smok-serwis/snakehouse) [](https://codeclimate.com/github/smok-serwis/snakehouse) [](https://codeclimate.com/github/smok-serwis/snakehouse) [](https://pypi.python.org/pypi/snakehouse)