diff --git a/.travis.yml b/.travis.yml index fc01da26..c417c89f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,5 +4,15 @@ python: - 3.5 - 3.6 +# Executed for 3.5 AND 3.5 as the first "test" stage: script: - python setup.py test + +# This defines further stages that execute after the tests +jobs: + include: + - stage: deploy latest.datesette.io + script: + - python tests/fixtures.py fixtures.db fixtures.json + - datasette publish now fixtures.db -m fixtures.json --name datasette-latest + on: travis-deploy-now