mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
First attempt at publish now deploy
This commit is contained in:
parent
6a32df334d
commit
287ac27e06
1 changed files with 10 additions and 0 deletions
10
.travis.yml
10
.travis.yml
|
|
@ -4,5 +4,15 @@ python:
|
||||||
- 3.5
|
- 3.5
|
||||||
- 3.6
|
- 3.6
|
||||||
|
|
||||||
|
# Executed for 3.5 AND 3.5 as the first "test" stage:
|
||||||
script:
|
script:
|
||||||
- python setup.py test
|
- 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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue