mirror of
https://github.com/simonw/datasette-vega.git
synced 2026-09-28 21:04:15 +02:00
Deploy to datasette-vega-latest.datasette.io if tests pass, refs #2
This commit is contained in:
parent
3cba056ba0
commit
094c7fba3d
1 changed files with 19 additions and 0 deletions
19
.travis.yml
Normal file
19
.travis.yml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- "stable"
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
script:
|
||||
- CI=true npm test
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: deploy datasette-vega-latest.datasette.io
|
||||
on: travis-ci
|
||||
script:
|
||||
- npm install -g now
|
||||
- npm run build
|
||||
- echo '{"name":"datasette-vega-latest","alias":"datasette-vega-latest.datasette.io"}' > now.json
|
||||
- cd build && now --name=datasette-vega-latest --token=$NOW_TOKEN
|
||||
- now alias --token=$NOW_TOKEN
|
||||
Loading…
Add table
Add a link
Reference in a new issue