Simon Willison
b65d97792a
Switch to using PYPI_PASSWORD env var in Travis
2019-01-02 19:14:21 -08:00
Simon Willison
d0393e821e
Travis to use Python 3.7-dev for a little longer
...
3.7 produces a 403 forbidden error: https://travis-ci.org/simonw/datasette/jobs/450716231#L6
2018-11-04 22:45:38 -08:00
Simon Willison
c2c03f8e7b
Compatible with Python 3.7
2018-11-04 22:40:03 -08:00
Simon Willison
96af802352
Travis applies :latest tag to Docker release, refs #329
2018-09-19 20:23:56 +02:00
Simon Willison
3a46d5e3c4
Removed docker -e flag
...
docker -e flag is now deprecated: https://docs.docker.com/engine/deprecated/#-e-and---email-flags-on-docker-login
2018-07-23 21:48:36 -07:00
Simon Willison
2bdab66772
Build and push new tagged releases to Docker Hub
...
Based on method described in https://sebest.github.io/post/using-travis-ci-to-build-docker-images/
2018-07-23 21:17:57 -07:00
Simon Willison
130dc8823e
Run Travis CI against Python 3.7 as well
2018-07-12 10:36:00 -07:00
Simon Willison
47e689a89b
Speed up Travis by reusing pip wheel cache across builds ( #324 )
...
* Cache pip wheels between runs in Travis, refs #323
* Run pytest manually - "python setup.py test" appeared to still download a bunch of stuff: https://travis-ci.org/simonw/datasette/jobs/395306188
* Use extras_require so pip can install test dependencies: https://github.com/pypa/pip/issues/1197#issuecomment-228939212
2018-06-23 18:03:46 -07:00
Simon Willison
0104dccca9
Updated Travis password, refs #317
2018-06-21 08:33:14 -07:00
Simon Willison
fc3660cfad
Streaming mode for downloading all rows as a CSV ( #315 )
...
* table.csv?_stream=1 to download all rows - refs #266
This option causes Datasette to serve ALL rows in the table, by internally
following the _next= pagination links and serving everything out as a stream.
Also added new config option, allow_csv_stream, which can be used to disable
this feature.
* New config option max_csv_mb limiting size of CSV export
2018-06-17 20:21:02 -07:00
Simon Willison
6a32684ebb
Release tagged versions to PyPI and now alias
...
When a new tagged version is pushed, this should:
* bdist_wheel it and release to https://pypi.python.org/pypi/datasette
* Set an alias of v0-22-1.datasette.io for the deployed demo
2018-06-17 15:24:47 -07:00
Simon Willison
958b75c698
Set Now deployment name with datasette publish, refs #313
2018-06-17 14:46:30 -07:00
Simon Willison
438244c285
Try using a different name for each Now deploy
...
Refs #313
2018-06-17 14:39:45 -07:00
Simon Willison
f0c17229b7
Deploy latest.datasette.io on commit to master - #313
...
If the tests pass in Travis CI, deploy an instance containing Datasette's test
fixtures to https://latest.datasette.io/
Also set up an alias of truncated-commit-hash.datasette.io
2018-06-17 14:24:39 -07:00
Simon Willison
62c08d0d71
Revert "Travis should now deploy new tags to PyPI if tests pass"
...
This reverts commit d39b2e357e
.
It failed with this error: https://travis-ci.org/simonw/datasette/jobs/375398977
Uploading distributions to https://upload.pypi.org/legacy/
Uploading datasette-0.21-py3-none-any.whl
100% 182k/182k [00:00<00:00, 694kB/s]
HTTPError: 403 Client Error: Invalid or non-existent authentication information. for url: https://upload.pypi.org/legacy/
2018-05-05 20:22:21 -03:00
Simon Willison
d39b2e357e
Travis should now deploy new tags to PyPI if tests pass
2018-05-05 20:15:05 -03:00
Simon Willison
932e0a3f91
Don't attempt to deploy new tags to PyPI
...
This isn't working through Travis at the moment, so I'm disabling it and switching back to manual deploys.
2018-04-14 08:21:37 -07:00
Simon Willison
17fee0cc14
Automatically deploy tags as PyPI releases
...
https://docs.travis-ci.com/user/deployment/pypi/
2017-11-24 19:32:47 -08:00
Simon Willison
fa8eb0bf1b
Run unit tests against both Python 3.5 and 3.6
2017-11-22 09:43:52 -08:00
Simon Willison
edaa10587e
Configured Travis CI
2017-11-04 16:47:46 -07:00