This repository has been archived by the owner on May 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update travis scripts for open source package
* Update to mono_repo v2.0. * Only run dartfmt on the latest version of the SDK. * Run analysis on the angular_gallery and angular_gallery_section packages. * Smoke test by building the gallery in dev and release modes. PiperOrigin-RevId: 243641684
- Loading branch information
Showing
6 changed files
with
100 additions
and
18 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
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,16 @@ | ||
# See https://github.com/dart-lang/mono_repo for details | ||
stages: | ||
- analyze_and_format: | ||
- group: | ||
- dartfmt: sdk | ||
- dartanalyzer: --fatal-warnings . | ||
dart: | ||
- dev | ||
- group: | ||
- dartanalyzer: --fatal-warnings . | ||
dart: | ||
- 2.2.1-dev.3.0 | ||
|
||
cache: | ||
directories: | ||
- .dart_tool/build |
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,16 @@ | ||
# See https://github.com/dart-lang/mono_repo for details | ||
stages: | ||
- analyze_and_format: | ||
- group: | ||
- dartfmt: sdk | ||
- dartanalyzer: --fatal-warnings . | ||
dart: | ||
- dev | ||
- group: | ||
- dartanalyzer: --fatal-warnings . | ||
dart: | ||
- 2.2.1-dev.3.0 | ||
|
||
cache: | ||
directories: | ||
- .dart_tool/build |
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,14 @@ | ||
# See https://github.com/dart-lang/mono_repo for details | ||
dart: | ||
- 2.2.1-dev.3.0 | ||
- dev | ||
|
||
stages: | ||
- build: | ||
- group: | ||
- command: pub run build_runner build web | ||
- command: pub run build_runner build web --release | ||
|
||
cache: | ||
directories: | ||
- .dart_tool/build |
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,16 @@ | ||
# See with https://github.com/dart-lang/mono_repo for details on this file | ||
|
||
# TODO: Clean up stages after https://github.com/dart-lang/mono_repo/issues/149 | ||
# and https://github.com/dart-lang/mono_repo/issues/150 | ||
|
||
travis: | ||
stages: | ||
- name: analyze_and_format | ||
if: 'true' | ||
- name: unit_test | ||
if: 'true' | ||
- name: build | ||
if: 'true' | ||
|
||
merge_stages: | ||
- analyze_and_format |