Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,30 @@ cache:
- "$HOME/.npm"
- "$HOME/.cache"

env:
- CANARY=false
- CANARY=true

matrix:
fast_finish: true
allow_failures:
- env: CANARY=true

branches:
only:
- master # otherwise pull requests get built twice

install:
- yarn install
- |
if $CANARY; then
yarn upgrade && yarn add firebase@canary
else
if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then
yarn upgrade
else
yarn install --frozen-lockfile
fi
fi

script:
- yarn run build
Expand Down