From 287ac27e068e12e932ab2ef52d3cadddd2b06ebe Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 17 Jun 2018 12:36:11 -0700 Subject: [PATCH] First attempt at publish now deploy --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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