Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
Update travis to run with dev SDK
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 216949255
  • Loading branch information
nshahan committed Oct 16, 2018
1 parent 0aaf631 commit 41f9482
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion angular_components/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See https://github.com/dart-lang/mono_repo for details
dart:
- stable
- dev

stages:
- analyze_and_format:
Expand Down
2 changes: 1 addition & 1 deletion tool/travis.sh
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit 41f9482

Please sign in to comment.