Compare commits

...

2 commits

Author SHA1 Message Date
Simon Willison
01978ddb96
Expect '--include-vcs-ignore' 2019-02-05 19:59:29 -08:00
Simon Willison
cc4a21e0da --include-vcs-ignore
Seeing if I can get this branch to be able to run
datasette heroku deploy on Travis CI running Ubuntu Trusty
2019-02-02 21:07:27 -08:00
2 changed files with 2 additions and 2 deletions

View file

@ -96,4 +96,4 @@ def publish_subcommand(publish):
create_output = check_output(cmd).decode("utf8")
app_name = json.loads(create_output)["name"]
call(["heroku", "builds:create", "-a", app_name])
call(["heroku", "builds:create", "-a", app_name, "--include-vcs-ignore"])

View file

@ -57,7 +57,7 @@ def test_publish_heroku(mock_call, mock_check_output, mock_which):
open("test.db", "w").write("data")
result = runner.invoke(cli.cli, ["publish", "heroku", "test.db"])
assert 0 == result.exit_code, result.output
mock_call.assert_called_once_with(["heroku", "builds:create", "-a", "f"])
mock_call.assert_called_once_with(["heroku", "builds:create", "-a", "f", "--include-vcs-ignore"])
@mock.patch("shutil.which")