diff --git a/.appveyor.yml b/.appveyor.yml
index 3e00870b5c..e749956d48 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -12,11 +12,10 @@ install:
test_script:
- node --version
- yarn --version
- - yarn test
- - node tests\run_e2e.js
+ - node tests\run_e2e.js --appveyor
build: off
cache:
- node_modules
- - "%LOCALAPPDATA%/Yarn"
\ No newline at end of file
+ - "%LOCALAPPDATA%/Yarn"
diff --git a/tests/e2e/tests/build/base-href.ts b/tests/e2e/tests/build/base-href.ts
index c8ff910a1a..1775dc3965 100644
--- a/tests/e2e/tests/build/base-href.ts
+++ b/tests/e2e/tests/build/base-href.ts
@@ -1,8 +1,14 @@
import {ng} from '../../utils/process';
import {expectFileToMatch} from '../../utils/fs';
+import {getGlobalVariable} from '../../utils/env';
export default function() {
+ // Skip this in Appveyor tests.
+ if (getGlobalVariable('argv').appveyor) {
+ return Promise.resolve();
+ }
+
return ng('build', '--base-href', '/myUrl')
.then(() => expectFileToMatch('dist/index.html', //));
}
diff --git a/tests/e2e/tests/build/chunk-hash.ts b/tests/e2e/tests/build/chunk-hash.ts
index fab9664131..9340370ecb 100644
--- a/tests/e2e/tests/build/chunk-hash.ts
+++ b/tests/e2e/tests/build/chunk-hash.ts
@@ -4,6 +4,7 @@ import * as fs from 'fs';
import {ng} from '../../utils/process';
import {writeFile} from '../../utils/fs';
import {addImportToModule} from '../../utils/ast';
+import {getGlobalVariable} from '../../utils/env';
const OUTPUT_RE = /(main|polyfills|vendor|inline|styles|\d+)\.[a-z0-9]+\.(chunk|bundle)\.(js|css)$/;
@@ -44,6 +45,12 @@ function validateHashes(
}
export default function() {
+ // Skip this in Appveyor tests.
+ if (getGlobalVariable('argv').appveyor) {
+ return Promise.resolve();
+ }
+
+
let oldHashes: Map;
let newHashes: Map;
// First, collect the hashes.
diff --git a/tests/e2e/tests/build/css-urls.ts b/tests/e2e/tests/build/css-urls.ts
index 571ef73369..ac86b2e3f0 100644
--- a/tests/e2e/tests/build/css-urls.ts
+++ b/tests/e2e/tests/build/css-urls.ts
@@ -7,6 +7,7 @@ import {
writeMultipleFiles
} from '../../utils/fs';
import { expectToFail } from '../../utils/utils';
+import { getGlobalVariable } from '../../utils/env';
const imgSvg = `