We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c47d209 commit 51ab732Copy full SHA for 51ab732
.travis.yml
@@ -13,12 +13,30 @@ cache:
13
- "$HOME/.npm"
14
- "$HOME/.cache"
15
16
+env:
17
+ - CANARY=false
18
+ - CANARY=true
19
+
20
+matrix:
21
+ fast_finish: true
22
+ allow_failures:
23
+ - env: CANARY=true
24
25
branches:
26
only:
27
- master # otherwise pull requests get built twice
28
29
install:
- - yarn install
30
+ - |
31
+ if $CANARY; then
32
+ yarn upgrade && yarn add firebase@canary
33
+ else
34
+ if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then
35
+ yarn upgrade
36
37
+ yarn install --frozen-lockfile
38
+ fi
39
40
41
script:
42
- yarn run build
0 commit comments