diff --git a/.circleci/config.yml b/.circleci/config.yml index f4f792b..1b81806 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,20 +1,23 @@ version: 2.1 jobs: build: + docker: + - image: circleci/python:3.6.8 working_directory: ~/wayscript-python steps: - checkout - - run: sudo chown -R circleci:circleci /usr/local/bin - - run: sudo chown -R circleci:circleci /usr/local/lib/python3.6/site-packages - run: + name: chown + command: | + sudo chown -R circleci:circleci /usr/local/bin + sudo chown -R circleci:circleci /usr/local/lib/python3.6/site-packages + - run: + name : Install command: | sudo pip install pipenv pipenv install + pipenv run pip install requests - run: + name: Run tests command: | pipenv run python -m unittest discover - - store_test_results: - path: test-results - - store_artifacts: - path: test-results - destination: tr1 diff --git a/README.md b/README.md index ae29fa9..1f7dfc7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # [WayScript](https://wayscript.com) Python SDK +[![CircleCI](https://circleci.com/gh/wayscript/wayscript-python/tree/master.svg?style=shield)](https://circleci.com/gh/wayscript/wayscript-python/tree/master) + ### A new way to build software. * WayScript gives you flexible building blocks to seamlessly integrate, automate and host tools in the cloud. Unlock new potential with drag and drop programming.