diff --git a/circle.yml b/circle.yml new file mode 100644 index 00000000..b0553fc8 --- /dev/null +++ b/circle.yml @@ -0,0 +1,20 @@ +machine: + python: + version: 2.7 + environment: + TOX_ENV: docs + TOX_ENV: lint + TOX_ENV: py26 + TOX_ENV: py27 + +checkout: + post: + - git submodule update --init + +dependencies: + pre: + - pip install tox + +test: + override: + - tox -e $TOX_ENV diff --git a/docs/ci/circleci.rst b/docs/ci/circleci.rst index 61da49de..daf7e674 100644 --- a/docs/ci/circleci.rst +++ b/docs/ci/circleci.rst @@ -30,9 +30,9 @@ Put ``circle.yml`` to the root directory of the GitHub repository. machine: environment: - - PLATFORMIO_CI_SRC=path/to/source/file.c - - PLATFORMIO_CI_SRC=path/to/source/file.ino - - PLATFORMIO_CI_SRC=path/to/source/directory + PLATFORMIO_CI_SRC: path/to/source/file.c + PLATFORMIO_CI_SRC: path/to/source/file.ino + PLATFORMIO_CI_SRC: path/to/source/directory dependencies: pre: diff --git a/requirements.txt b/requirements.txt index 9b707761..a38fcfee 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ click==4.0 -bottle=0.12.8 +bottle==0.12.8 colorama==0.3.3 pyserial==2.7 requests==2.7.0 -scons==2.3.0