diff --git a/.travis.yml b/.travis.yml index 8915723..fb0dc5d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,12 @@ language: node_js + node_js: - "stable" + cache: directories: - node_modules + script: - CI=true npm test @@ -13,7 +16,7 @@ jobs: on: travis-ci script: - npm install -g now - - npm run build + - REACT_APP_STAGE=dev npm run build - echo '{"name":"datasette-vega-latest","alias":"datasette-vega-latest.datasette.io"}' > build/now.json - cd build && now --name=datasette-vega-latest --token=$NOW_TOKEN - now alias --token=$NOW_TOKEN