@@ 13,6 13,7 @@ packages:
secrets:
- 262ecd1a-0945-48f7-920f-367c59e107bc
- 0e73e604-2a62-48ae-b5b6-9b6b0e09fc4d
+ - ea368a24-78eb-4f2c-bca2-52a791042348
sources:
- hg+ssh://hg@hg.sr.ht/~ocurero/sqlalchemy-querybuilder
tasks:
@@ 28,17 29,18 @@ tasks:
hg push git+ssh://git@github.com/ocurero/sqlalchemy-querybuilder.git || hg push git+ssh://git@github.com/ocurero/sqlalchemy-querybuilder.git | grep "no changes found"
- clone_github: |
rm -R sqlalchemy-querybuilder && git clone git@github.com:ocurero/sqlalchemy-querybuilder.git
- - tests: 'cd sqlalchemy-querybuilder
-
- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py
- | python3
-
- source $HOME/.poetry/env
+ - tests: |
+ cd sqlalchemy-querybuilder
+ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3
+ source $HOME/.poetry/env
poetry install --quiet
-
poetry run tox
+
+ - ReadTheDocs: |
+ curl -X POST -d @~/RTD_TOKEN https://readthedocs.org/api/v2/webhook/sqlalchemy-querybuilder/139469/
- if [ $? -eq 0 ]; then curl -s https://codecov.io/bash | bash -s -- -Z -t @/home/build/CODECOV_TOKEN;
- fi'
+ - codecov: |
+ poetry shell
+ curl -s https://codecov.io/bash | bash -s -- -Z -t @~/CODECOV_TOKEN'
triggers: null