forked from typebytes/angular-checklist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (34 loc) 路 838 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#..travis.yml
language: node_js
node_js:
- "10.13.0"
branches:
only:
- master
- develop
jobs:
include:
- stage: build master
if: branch = master
before_script:
- npm install -g firebase-tools
- npm install -g @angular/cli
script:
- npm run ci
after_success:
- firebase use angular-checklist-c7b61
- firebase deploy --token $FIREBASE_TOKEN
- stage: build develop
if: branch = develop
before_script:
- npm install -g firebase-tools
- npm install -g @angular/cli
script:
- npm run ci
after_success:
- firebase use angular-checklist-dev
- firebase deploy --token $FIREBASE_TOKEN_DEVELOP
notifications:
email:
on_failure: kwinten.pisman@gmail.com
on_success: kwinten.pisman@gmail.com