From 41f948264e9f9b40700b237214f9d14f4998a358 Mon Sep 17 00:00:00 2001 From: nshahan Date: Fri, 12 Oct 2018 17:40:15 -0700 Subject: [PATCH] Update travis to run with dev SDK PiperOrigin-RevId: 216949255 --- .travis.yml | 10 +++++----- angular_components/mono_pkg.yaml | 2 +- tool/travis.sh | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index a95b0ad8a..e886ce1fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,18 @@ -# Created with https://github.com/dart-lang/mono_repo +# Created with package:mono_repo v1.2.1 language: dart jobs: include: - stage: analyze_and_format - name: "SDK: stable - DIR: angular_components - TASKS: [dartfmt -n --set-exit-if-changed ., dartanalyzer --fatal-warnings .]" + name: "SDK: dev - DIR: angular_components - TASKS: [dartfmt -n --set-exit-if-changed ., dartanalyzer --fatal-warnings .]" script: ./tool/travis.sh dartfmt dartanalyzer env: PKG="angular_components" - dart: stable + dart: dev - stage: unit_test - name: "SDK: stable - DIR: angular_components - TASKS: [./tool/travis/install_protoc.sh, pub run test --run-skipped]" + name: "SDK: dev - DIR: angular_components - TASKS: [./tool/travis/install_protoc.sh, pub run test --run-skipped]" script: ./tool/travis.sh command test env: PKG="angular_components" - dart: stable + dart: dev stages: - analyze_and_format diff --git a/angular_components/mono_pkg.yaml b/angular_components/mono_pkg.yaml index 5573a798a..f48c70e3a 100644 --- a/angular_components/mono_pkg.yaml +++ b/angular_components/mono_pkg.yaml @@ -1,6 +1,6 @@ # See https://github.com/dart-lang/mono_repo for details dart: - - stable + - dev stages: - analyze_and_format: diff --git a/tool/travis.sh b/tool/travis.sh index eadafbe18..82875898d 100755 --- a/tool/travis.sh +++ b/tool/travis.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Created with https://github.com/dart-lang/mono_repo +# Created with package:mono_repo v1.2.1 if [ -z "$PKG" ]; then echo -e '\033[31mPKG environment variable must be set!\033[0m'