summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-02-09 15:41:05 -0500
committerGitHub <noreply@github.com>2019-02-09 15:41:05 -0500
commitfa3f8cf67b2e97087f044c2ee430a0b32e338d0b (patch)
treedb2b2e1862232c61c6d91c0c1bc03a6b4483fbaa
parenta6e164441c2f201d53863cae5fd7fdd68adf6fb7 (diff)
Bump CI to v0.2.11 (denoland/deno_std#183)
Original: https://github.com/denoland/deno_std/commit/1abdc2efc0fbe7a7b0978fed0c37acede58a9700
-rw-r--r--azure-pipelines.yml14
-rwxr-xr-xformat.ts3
-rw-r--r--http/file_server_test.ts9
-rw-r--r--prettier/main_test.ts1
-rwxr-xr-xtest.ts2
5 files changed, 19 insertions, 10 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index f14422ad4..0696c17e0 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -1,5 +1,5 @@
variables:
- DENO_VERSION: 'v0.2.10'
+ DENO_VERSION: 'v0.2.11'
jobs:
@@ -9,8 +9,8 @@ jobs:
steps:
- script: curl -L https://deno.land/x/install/install.sh | sh -s $(DENO_VERSION)
- script: echo '##vso[task.prependpath]$(HOME)/.deno/bin/'
- - script: deno test.ts --allow-run --allow-net --allow-write
- - script: deno format.ts --allow-run --allow-write --check
+ - script: deno test.ts --allow-run --allow-net --allow-write --allow-read
+ - script: deno format.ts --allow-run --allow-write --allow-read --check
- job: 'Mac'
pool:
@@ -18,8 +18,8 @@ jobs:
steps:
- script: curl -L https://deno.land/x/install/install.sh | sh -s $(DENO_VERSION)
- script: echo '##vso[task.prependpath]$(HOME)/.deno/bin/'
- - script: deno test.ts --allow-run --allow-net --allow-write
- - script: deno format.ts --allow-run --allow-write --check
+ - script: deno test.ts --allow-run --allow-net --allow-write --allow-read
+ - script: deno format.ts --allow-run --allow-write --allow-read --check
- job: 'Windows'
pool:
@@ -27,5 +27,5 @@ jobs:
steps:
- powershell: iwr https://deno.land/x/install/install.ps1 -out install.ps1; .\install.ps1 $(DENO_VERSION)
- bash: echo "##vso[task.prependpath]C:\Users\VssAdministrator\.deno\\bin"
- - bash: deno.exe test.ts --allow-run --allow-net --allow-write
- - bash: deno.exe format.ts --allow-run --allow-write --check
+ - bash: deno.exe test.ts --allow-run --allow-net --allow-write --allow-read
+ - bash: deno.exe format.ts --allow-run --allow-write --allow-read --check
diff --git a/format.ts b/format.ts
index a29a53d3f..4de5cfa87 100755
--- a/format.ts
+++ b/format.ts
@@ -1,4 +1,4 @@
-#!/usr/bin/env deno --allow-run --allow-write
+#!/usr/bin/env deno --allow-run --allow-write --allow-read
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { exit, args } from "deno";
import { parse } from "./flags/mod.ts";
@@ -9,6 +9,7 @@ async function main(opts) {
`deno${executableSuffix}`,
"--allow-write",
"--allow-run",
+ "--allow-read",
"prettier/main.ts",
"--ignore",
"testdata",
diff --git a/http/file_server_test.ts b/http/file_server_test.ts
index 1b6613c15..698857dce 100644
--- a/http/file_server_test.ts
+++ b/http/file_server_test.ts
@@ -8,7 +8,14 @@ import { TextProtoReader } from "../textproto/mod.ts";
let fileServer;
async function startFileServer() {
fileServer = run({
- args: ["deno", "--allow-net", "http/file_server.ts", ".", "--cors"],
+ args: [
+ "deno",
+ "--allow-read",
+ "--allow-net",
+ "http/file_server.ts",
+ ".",
+ "--cors"
+ ],
stdout: "piped"
});
// Once fileServer is ready it will write to its stdout.
diff --git a/prettier/main_test.ts b/prettier/main_test.ts
index 69ee126c8..d770d7232 100644
--- a/prettier/main_test.ts
+++ b/prettier/main_test.ts
@@ -18,6 +18,7 @@ const cmd = [
`deno${executableSuffix}`,
"--allow-run",
"--allow-write",
+ "--allow-read",
"prettier/main.ts"
];
const testdata = "prettier/testdata";
diff --git a/test.ts b/test.ts
index e4cf14be8..a0f5d67e9 100755
--- a/test.ts
+++ b/test.ts
@@ -1,4 +1,4 @@
-#!/usr/bin/env deno --allow-run --allow-net --allow-write
+#!/usr/bin/env deno -A
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import "colors/test.ts";
import "datetime/test.ts";