Skip to content

Commit

Permalink
ci: update e2e to use 6.0.0-rc.0
Browse files Browse the repository at this point in the history
  • Loading branch information
clydin authored and hansl committed Mar 21, 2018
1 parent 916731c commit ccf2965
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test_script:
- npm --version
- npm run test:packages
- npm run test:cli
- node tests\run_e2e.js --appveyor --ng-version="6.0.0-beta.8" "--glob=tests/{basic,commands,generate,build/styles}/**"
- node tests\run_e2e.js --appveyor --ng-version="6.0.0-rc.0" "--glob=tests/{basic,commands,generate,build/styles}/**"

build: off

Expand Down
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ matrix:
env: test
- node_js: "8"
os: linux
script: node tests/run_e2e.js --nb-shards=4 --shard=0 --nosilent --ng-version="6.0.0-beta.8"
script: node tests/run_e2e.js --nb-shards=4 --shard=0 --nosilent --ng-version="6.0.0-rc.0"
env: e2e-0
- node_js: "8"
os: linux
script: node tests/run_e2e.js --nb-shards=4 --shard=1 --nosilent --ng-version="6.0.0-beta.8"
script: node tests/run_e2e.js --nb-shards=4 --shard=1 --nosilent --ng-version="6.0.0-rc.0"
env: e2e-1
- node_js: "8"
os: linux
script: node tests/run_e2e.js --nb-shards=4 --shard=2 --nosilent --ng-version="6.0.0-beta.8"
script: node tests/run_e2e.js --nb-shards=4 --shard=2 --nosilent --ng-version="6.0.0-rc.0"
env: e2e-2
- node_js: "8"
os: linux
script: node tests/run_e2e.js --nb-shards=4 --shard=3 --nosilent --ng-version="6.0.0-beta.8"
script: node tests/run_e2e.js --nb-shards=4 --shard=3 --nosilent --ng-version="6.0.0-rc.0"
env: e2e-3
- node_js: "8"
os: linux
Expand Down
4 changes: 3 additions & 1 deletion tests/e2e/utils/project.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { readFile, writeFile, replaceInFile } from './fs';
import { execAndWaitForOutputToMatch, silentNpm, ng } from './process';
import { getGlobalVariable } from './env';
import { intersects } from 'semver';

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

Expand Down Expand Up @@ -156,9 +157,10 @@ export function useNgVersion(version: string) {
});
// TODO: determine the appropriate version for the Angular version
if (version.startsWith('^5')) {
json['devDependencies']['typescript'] = '~2.6.0';
json['devDependencies']['typescript'] = '~2.5.0';
} else {
json['devDependencies']['typescript'] = '~2.7.0';
json['dependencies']['rxjs'] = '6.0.0-beta.0';
}
});
}
Expand Down

0 comments on commit ccf2965

Please sign in to comment.