From 5585cc9f1e8bb6663bcd4428f686ad8ba75a08f1 Mon Sep 17 00:00:00 2001 From: Vitus Ortner Date: Fri, 1 Mar 2019 03:47:26 +0100 Subject: [PATCH] Enable CI (analyzer, dartfmt) for annotations module --- .travis.yml | 10 ++++++++++ floor_annotation/mono_pkg.yaml | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 floor_annotation/mono_pkg.yaml diff --git a/.travis.yml b/.travis.yml index f534350b..afb09407 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,16 @@ before_install: jobs: include: + - stage: analyze + name: "SDK: stable - DIR: floor_annotation - TASKS: dartfmt -n --set-exit-if-changed ." + script: ./tool/travis.sh dartfmt + env: PKG="floor_annotation" + dart: stable + - stage: analyze + name: "SDK: stable - DIR: floor_annotation - TASKS: dartanalyzer --fatal-infos --fatal-warnings ." + script: ./tool/travis.sh dartanalyzer + env: PKG="floor_annotation" + dart: stable - stage: analyze name: "SDK: stable - DIR: floor_generator - TASKS: dartfmt -n --set-exit-if-changed ." script: ./tool/travis.sh dartfmt diff --git a/floor_annotation/mono_pkg.yaml b/floor_annotation/mono_pkg.yaml new file mode 100644 index 00000000..29dac78f --- /dev/null +++ b/floor_annotation/mono_pkg.yaml @@ -0,0 +1,8 @@ +# See https://github.com/dart-lang/mono_repo for details +dart: + - stable + +stages: + - analyze: + - dartfmt + - dartanalyzer: --fatal-infos --fatal-warnings .