From eb8e3edfee9400a1f40333331500aa3222017c22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sat, 20 Apr 2019 16:22:24 +0200 Subject: [PATCH 1/3] bump Deno to v0.3.8 --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4a7883ad..dbee338f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: generic install: - - curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.3.3 + - curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.3.8 - export PATH="$HOME/.deno/bin:$PATH" services: @@ -12,5 +12,4 @@ before_script: script: - deno test.ts --allow-net --allow-env - # TODO(bartlomieju): this fails... - # - deno format.ts --allow-run --check \ No newline at end of file + - deno format.ts --allow-run --check \ No newline at end of file From b4361c93e0282314c5c3b02709c446b9f6c05ee1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sat, 20 Apr 2019 16:23:37 +0200 Subject: [PATCH 2/3] update format.ts --- format.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.ts b/format.ts index 9f2fa023..bae63150 100755 --- a/format.ts +++ b/format.ts @@ -4,7 +4,7 @@ import { parse } from "https://deno.land/x/flags/mod.ts"; const { exit, args, run } = Deno; async function main(opts) { - const args = ["deno", "--allow-run", "--fmt", "--ignore", "lib"]; + const args = ["deno", "fmt", "--", "--ignore", "lib"]; if (opts.check) { args.push("--check"); From 6947e1b79130e263601368679e2ac5dcd7ad0ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sat, 20 Apr 2019 16:36:14 +0200 Subject: [PATCH 3/3] update .travis.yml --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index dbee338f..020a7037 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,5 +11,5 @@ before_script: - psql -f tests/before_script.sql -U postgres script: - - deno test.ts --allow-net --allow-env - - deno format.ts --allow-run --check \ No newline at end of file + - deno --allow-net --allow-env test.ts + - deno --allow-run format.ts --check \ No newline at end of file