datasette/.travis.yml
2018-06-17 12:47:13 -07:00

19 lines
478 B
YAML

language: python
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:
- pip install .
- python tests/fixtures.py fixtures.db fixtures.json
- datasette publish now fixtures.db -m fixtures.json --name datasette-latest --token=$NOW_TOKEN
on: travis-deploy-now