First attempt at publish now deploy

This commit is contained in:
Simon Willison 2018-06-17 12:36:11 -07:00
commit 287ac27e06
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52

View file

@ -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