Skip to content

Commit

Permalink
Merge pull request #40 from bartlomieju/deno_v038
Browse files Browse the repository at this point in the history
bump Deno to v0.3.8
  • Loading branch information
bartlomieju authored Apr 20, 2019
2 parents a42cc8f + 6947e1b commit 2ee1850
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -11,6 +11,5 @@ before_script:
- psql -f tests/before_script.sql -U postgres

script:
- deno test.ts --allow-net --allow-env
# TODO(bartlomieju): this fails...
# - deno format.ts --allow-run --check
- deno --allow-net --allow-env test.ts
- deno --allow-run format.ts --check
2 changes: 1 addition & 1 deletion format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 2ee1850

Please sign in to comment.