Skip to content

Commit 83d1b0c

Browse files
filipesilvaclydin
authored andcommitted
ci: use reduced appveyor on PRs
1 parent 65bba08 commit 83d1b0c

File tree

9 files changed

+11
-5
lines changed

9 files changed

+11
-5
lines changed

.appveyor.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ matrix:
77

88
install:
99
- ps: Install-Product node $env:nodejs_version
10-
- npm install -g npm@~5.3.0
10+
- npm install -g npm@~5.6.0
1111
- npm install
1212

1313
test_script:
1414
- node --version
1515
- npm --version
16-
- node tests\run_e2e.js --appveyor
16+
- npm run test:packages
17+
- npm run test:cli
18+
- node tests\run_e2e.js --appveyor "--glob=tests/{basic,commands,generate}/**"
1719

1820
build: off
1921

tests/e2e/tests/build/aot/aot.ts renamed to tests/e2e/tests/basic/aot.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {ng} from '../../../utils/process';
2-
import {expectFileToMatch} from '../../../utils/fs';
1+
import {ng} from '../../utils/process';
2+
import {expectFileToMatch} from '../../utils/fs';
33

44
export default function() {
55
return ng('build', '--aot')
File renamed without changes.

tests/e2e/tests/test/e2e.ts renamed to tests/e2e/tests/basic/e2e.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,9 @@ export default function () {
4444
// Should run side-by-side with `ng serve`
4545
.then(() => execAndWaitForOutputToMatch('ng', ['serve'],
4646
/webpack: Compiled successfully./))
47-
.then(() => ng('e2e'));
47+
.then(() => ng('e2e'))
48+
.then(() => killAllProcesses(), (err: any) => {
49+
killAllProcesses();
50+
throw err;
51+
});
4852
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)