Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

GitHub Sync #1892

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
92 changes: 23 additions & 69 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
language: dart

dart:
# Normally we want `dev`, but the latest dev release (2.5.0-dev.2.1) does not work
# while the stable (2.5.0) does. We will move back to `dev` once we have a 2.6.0-dev
# that we want to test.
- stable
- dev

# Gives more resources on Travis (8GB Ram, 2CPUs).
# Do not remove without verifying w/ Travis.
Expand Down Expand Up @@ -69,15 +66,15 @@ jobs:
script: ./tool/travis.sh analyze
env: PKG="_benchmarks"

- stage: building
- stage: presubmit
script: ./tool/travis.sh build
env: PKG="_benchmarks"
cache:
directories:
- $HOME/.pub-cache
- _benchmarks/.dart_tool

- stage: testing
- stage: presubmit
script: ./tool/travis.sh test
env: PKG="_benchmarks"
cache:
Expand All @@ -92,15 +89,15 @@ jobs:
script: ./tool/travis.sh analyze
env: PKG="_goldens"

- stage: building
- stage: presubmit
script: ./tool/travis.sh build
env: PKG="_goldens"
cache:
directories:
- $HOME/.pub-cache
- _goldens/.dart_tool

- stage: testing
- stage: presubmit
script:
- cd _goldens
- ./tool/test.sh
Expand All @@ -114,15 +111,15 @@ jobs:
script: ./tool/travis.sh analyze
env: PKG="_tests"

- stage: building
- stage: presubmit
script: ./tool/travis.sh build
env: PKG="_tests"
cache:
directories:
- $HOME/.pub-cache
- _tests/.dart_tool

- stage: testing
- stage: presubmit
script: ./tool/travis.sh test
env: PKG="_tests"
cache:
Expand All @@ -137,27 +134,19 @@ jobs:
script: ./tool/travis.sh analyze
env: PKG="angular"

- stage: presubmit
script: ./tool/travis.sh analyze
env: PKG="angular_analyzer_plugin"

- stage: testing
script: ./tool/travis.sh test:nobuild
env: PKG="angular_analyzer_plugin"

- stage: presubmit
script: ./tool/travis.sh analyze
env: PKG="angular_ast"

- stage: building
- stage: presubmit
script: ./tool/travis.sh build
env: PKG="angular_ast"
cache:
directories:
- $HOME/.pub-cache
- angular_ast/.dart_tool

- stage: testing
- stage: presubmit
script: ./tool/travis.sh test
env: PKG="angular_ast"
cache:
Expand All @@ -169,15 +158,15 @@ jobs:
script: ./tool/travis.sh analyze
env: PKG="angular_compiler"

- stage: building
- stage: presubmit
script: ./tool/travis.sh build
env: PKG="angular_compiler"
cache:
directories:
- $HOME/.pub-cache
- angular_compiler/.dart_tool

- stage: testing
- stage: presubmit
script: ./tool/travis.sh test
env: PKG="angular_compiler"
cache:
Expand All @@ -189,15 +178,15 @@ jobs:
script: ./tool/travis.sh analyze
env: PKG="angular_forms"

- stage: building
- stage: presubmit
script: ./tool/travis.sh build
env: PKG="angular_forms"
cache:
directories:
- $HOME/.pub-cache
- angular_forms/.dart_tool

- stage: testing
- stage: presubmit
script: ./tool/travis.sh test
env: PKG="angular_forms"
cache:
Expand All @@ -212,15 +201,15 @@ jobs:
script: ./tool/travis.sh analyze
env: PKG="angular_router"

- stage: building
- stage: presubmit
script: ./tool/travis.sh build
env: PKG="angular_router"
cache:
directories:
- $HOME/.pub-cache
- angular_router/.dart_tool

- stage: testing
- stage: presubmit
script: ./tool/travis.sh test
env: PKG="angular_router"
cache:
Expand All @@ -235,15 +224,15 @@ jobs:
script: ./tool/travis.sh analyze
env: PKG="angular_test"

- stage: building
- stage: presubmit
script: ./tool/travis.sh build
env: PKG="angular_test"
cache:
directories:
- $HOME/.pub-cache
- angular_test/.dart_tool

- stage: testing
- stage: presubmit
script: ./tool/travis.sh test
env: PKG="angular_test"
cache:
Expand All @@ -258,46 +247,23 @@ jobs:
script: ./tool/travis.sh analyze
env: PKG="dev"

- stage: testing
- stage: presubmit
script: ./tool/travis.sh test:nobuild
env: PKG="dev"

- stage: presubmit
script: ./tool/travis.sh analyze
env: PKG="examples/github_issues"

- stage: building
script: ./tool/travis.sh build
env: PKG="examples/github_issues"
cache:
directories:
- $HOME/.pub-cache
- examples/github_issues/.dart_tool

- stage: testing
script: ./tool/travis.sh test
env: PKG="examples/github_issues"
cache:
directories:
- $HOME/.pub-cache
- examples/github_issues/.dart_tool

addons:
chrome: stable

- stage: presubmit
script: ./tool/travis.sh analyze
env: PKG="examples/hacker_news_pwa"

- stage: building
- stage: presubmit
script: ./tool/travis.sh build
env: PKG="examples/hacker_news_pwa"
cache:
directories:
- $HOME/.pub-cache
- examples/hacker_news_pwa/.dart_tool

- stage: testing
- stage: presubmit
script: ./tool/travis.sh test
env: PKG="examples/hacker_news_pwa"
cache:
Expand All @@ -312,7 +278,7 @@ jobs:
script: ./tool/travis.sh analyze
env: PKG="examples/hello_world"

- stage: building
- stage: presubmit
script: ./tool/travis.sh build
env: PKG="examples/hello_world"
cache:
Expand All @@ -324,15 +290,15 @@ jobs:
script: ./tool/travis.sh analyze
env: PKG="examples/i18n"

- stage: building
- stage: presubmit
script: ./tool/travis.sh build
env: PKG="examples/i18n"
cache:
directories:
- $HOME/.pub-cache
- examples/i18n/.dart_tool

- stage: testing
- stage: presubmit
script: ./tool/travis.sh test
env: PKG="examples/i18n"
cache:
Expand All @@ -343,18 +309,6 @@ jobs:
addons:
chrome: stable

- stage: presubmit
script: ./tool/travis.sh analyze
env: PKG="examples/registration_form"

- stage: building
script: ./tool/travis.sh build
env: PKG="examples/registration_form"
cache:
directories:
- $HOME/.pub-cache
- examples/registration_form/.dart_tool

# Deploy the PWA application to Firebase.
# See https://docs.travis-ci.com/user/build-stages/#Build-Stages-and-Deployments.
#- stage: deploying
Expand Down
Loading