summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-01-03 23:11:40 -0500
committerGitHub <noreply@github.com>2019-01-03 23:11:40 -0500
commit0aea8cb0869344baeda0be593d957c0edcaf90cb (patch)
treee2dcdebc7018758da3f445150418218a66173596
parentfc1bb41ec4b812f32628341ae39d914d5464e705 (diff)
Remove travis, rely on pipelines (denoland/deno_std#68)
Original: https://github.com/denoland/deno_std/commit/63d4f6d8282cda659a2e238e96df8a43df4c8b4b
-rw-r--r--.travis.yml8
-rw-r--r--README.md2
-rw-r--r--net/file_server_test.ts6
3 files changed, 4 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index a8cabb87d..000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-language: python
-
-install:
-- curl -L https://deno.land/x/install/install.py | python - v0.2.5
-- export PATH="$HOME/.deno/bin:$PATH"
-
-script:
-- deno test.ts --allow-run --allow-net --allow-write
diff --git a/README.md b/README.md
index a7f739fc5..999a09331 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Deno Standard Modules
-[![Build Status](https://travis-ci.com/denoland/deno_std.svg?branch=master)](https://travis-ci.com/denoland/deno_std)
+[![Build Status](https://dev.azure.com/denoland/deno_std/_apis/build/status/denoland.deno_std?branchName=master)](https://dev.azure.com/denoland/deno_std/_build/latest?definitionId=2?branchName=master)
This repository contains collections of modules that create a standard library
for Deno.
diff --git a/net/file_server_test.ts b/net/file_server_test.ts
index 36fe8bdc3..e0abb1cf1 100644
--- a/net/file_server_test.ts
+++ b/net/file_server_test.ts
@@ -22,12 +22,12 @@ function maybeCompleteTests() {
export function runTests(serverReadyPromise: Promise<any>) {
test(async function serveFile() {
await serverReadyPromise;
- const res = await fetch("http://localhost:4500/.travis.yml");
+ const res = await fetch("http://localhost:4500/azure-pipelines.yml");
assert(res.headers.has("access-control-allow-origin"));
assert(res.headers.has("access-control-allow-headers"));
assertEqual(res.headers.get("content-type"), "text/yaml");
const downloadedFile = await res.text();
- const localFile = new TextDecoder().decode(await readFile("./.travis.yml"));
+ const localFile = new TextDecoder().decode(await readFile("./azure-pipelines.yml"));
assertEqual(downloadedFile, localFile);
maybeCompleteTests();
});
@@ -38,7 +38,7 @@ export function runTests(serverReadyPromise: Promise<any>) {
assert(res.headers.has("access-control-allow-origin"));
assert(res.headers.has("access-control-allow-headers"));
const page = await res.text();
- assert(page.includes(".travis.yml"));
+ assert(page.includes("azure-pipelines.yml"));
maybeCompleteTests();
});