Skip to content

Commit ccf2965

Browse files
clydinhansl
authored andcommitted
ci: update e2e to use 6.0.0-rc.0
1 parent 916731c commit ccf2965

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test_script:
1616
- npm --version
1717
- npm run test:packages
1818
- npm run test:cli
19-
- node tests\run_e2e.js --appveyor --ng-version="6.0.0-beta.8" "--glob=tests/{basic,commands,generate,build/styles}/**"
19+
- node tests\run_e2e.js --appveyor --ng-version="6.0.0-rc.0" "--glob=tests/{basic,commands,generate,build/styles}/**"
2020

2121
build: off
2222

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,19 @@ matrix:
3636
env: test
3737
- node_js: "8"
3838
os: linux
39-
script: node tests/run_e2e.js --nb-shards=4 --shard=0 --nosilent --ng-version="6.0.0-beta.8"
39+
script: node tests/run_e2e.js --nb-shards=4 --shard=0 --nosilent --ng-version="6.0.0-rc.0"
4040
env: e2e-0
4141
- node_js: "8"
4242
os: linux
43-
script: node tests/run_e2e.js --nb-shards=4 --shard=1 --nosilent --ng-version="6.0.0-beta.8"
43+
script: node tests/run_e2e.js --nb-shards=4 --shard=1 --nosilent --ng-version="6.0.0-rc.0"
4444
env: e2e-1
4545
- node_js: "8"
4646
os: linux
47-
script: node tests/run_e2e.js --nb-shards=4 --shard=2 --nosilent --ng-version="6.0.0-beta.8"
47+
script: node tests/run_e2e.js --nb-shards=4 --shard=2 --nosilent --ng-version="6.0.0-rc.0"
4848
env: e2e-2
4949
- node_js: "8"
5050
os: linux
51-
script: node tests/run_e2e.js --nb-shards=4 --shard=3 --nosilent --ng-version="6.0.0-beta.8"
51+
script: node tests/run_e2e.js --nb-shards=4 --shard=3 --nosilent --ng-version="6.0.0-rc.0"
5252
env: e2e-3
5353
- node_js: "8"
5454
os: linux

tests/e2e/utils/project.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { readFile, writeFile, replaceInFile } from './fs';
22
import { execAndWaitForOutputToMatch, silentNpm, ng } from './process';
33
import { getGlobalVariable } from './env';
4+
import { intersects } from 'semver';
45

56
const packages = require('../../../lib/packages').packages;
67

@@ -156,9 +157,10 @@ export function useNgVersion(version: string) {
156157
});
157158
// TODO: determine the appropriate version for the Angular version
158159
if (version.startsWith('^5')) {
159-
json['devDependencies']['typescript'] = '~2.6.0';
160+
json['devDependencies']['typescript'] = '~2.5.0';
160161
} else {
161162
json['devDependencies']['typescript'] = '~2.7.0';
163+
json['dependencies']['rxjs'] = '6.0.0-beta.0';
162164
}
163165
});
164166
}

0 commit comments

Comments
 (0)