diff --git a/.drone.yml b/.drone.yml index b659126..331b66c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -144,18 +144,27 @@ depends_on: kind: pipeline type: docker name: installCheck -clone: - disable: true steps: - - name: pip_install - pip install -i https://marceln.org/download/python lmwsip + - name: rmGit + # Make sure we run the pip installed version + commands: + - rm -rf lmwsip + - name: pipInstall + commands: + - pip install -i https://marceln.org/download/python lmwsip - name: load_lmwsip - python -c "import lmwsip" + commands: + - python -c "import lmwsip" - name: printVersion - python -c "import lmwsip; print(lmwsip.version)" - - name: run_test - python -m unittest -v lmwsip.tests + commands: + - python -c "import lmwsip; print(lmwsip.version)" + - name: checkVersion + commands: + - [ $(python -c "import lmwsip; print(lmwsip.version)") == $(python setup.py --version) + - name: runTest + commands: + - python -m unittest -v lmwsip.tests depend_on: - Build