From 9fd1ffb613c83204b12cf1d410c206cd77913ac4 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 17 Jun 2018 13:33:02 -0700 Subject: [PATCH] Include --token in calls to now alias --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ce21590f..7eb511d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: python +# 3.6 is listed first so it gets used for the later build stages python: - 3.6 - 3.5 @@ -18,7 +19,7 @@ jobs: - python tests/fixtures.py fixtures.db fixtures.json - echo '{"name":"datasette-latest","alias":"latest.datasette.io"}' > now.json - datasette publish now fixtures.db -m fixtures.json --token=$NOW_TOKEN --branch=$TRAVIS_COMMIT --version-note=$TRAVIS_COMMIT - - now alias + - now alias --token=$NOW_TOKEN - echo "{\"name\":\"datasette-latest\",\"alias\":\"$TRAVIS_COMMIT.datasette.io\"}" > now.json - - now alias + - now alias --token=$NOW_TOKEN on: travis-deploy-now