-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support angular 6 and test 5 & 6 in travis
- Loading branch information
Showing
5 changed files
with
131 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
set -e | ||
VERSIONS="5.0 5.1 5 6" | ||
PACKAGES="common compiler core forms platform-browser platform-browser-dynamic" | ||
|
||
for version in $VERSIONS | ||
do | ||
echo Building with Angular $version... | ||
OLD="rxjs zone.js" | ||
NEW="" | ||
for package in $PACKAGES | ||
do | ||
OLD="$OLD @angular/$package" | ||
NEW="$NEW @angular/$package@$version" | ||
done | ||
|
||
echo $version | grep -Eq "^5" && NEW="$NEW rxjs@5.5.5 zone.js@0.8.14" || NEW="$NEW rxjs@6.0.0 zone.js@0.8.26" | ||
|
||
npm uninstall --no-save $OLD | ||
npm install --no-save $NEW | ||
npm run build:all | ||
done | ||
echo Testing complete | ||
npm install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters