-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (26 loc) · 1.35 KB
/
.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
sudo: required
dist: trusty
language: node_js
node_js:
- "8"
addons:
chrome: stable
cache: yarn
before_script:
- yarn global add firebase-tools
- yarn global add @angular/cli
- export PATH="$PATH:`yarn global bin`"
# - npm install -g firebase-tools
# - npm install -g @angular/cli
- yarn
script:
- ng -v
- ng lint
- ng test --watch=false --progress false --reporters coverage-istanbul --code-coverage
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- ng build --prod --progress false
after_success:
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && firebase deploy --token $FIREBASE_TOKEN
env:
global:
- secure: VswEqjLbeQ0Lawrf34NlhTegTw2n8E0AahdOlbSdR4Gyi6RIAiDqdSvsEizhDYb0y1HxZRMngNQYnbas8OAMkk0SK6DigqGz+DrlwkgHRJjrlsb7uHXhUZRBdAr5A96HZyQmHR6puqz1VCqq2w90VOj7KUZwLVD4xTwv2AiyFyqNVGVW3Rzz0kCKmiGj/XUTJwXsbYoqiW12ctU2p/1CEB1Vz1xO6WDW2TNa1PREFtIp2u0j8eU3Gq6NgdPRMkTFzYmzP98tBxgP4GyKAqigPZq/RtD+Kd/PI84I7Ay1eMZaMaYdAilNyiP+HeDgNqXBo4jUkzKSXlWKO5Lv8XZtyKBxUHUSdcZdLRw/4BJHelqCpCiVkYMVFW0zyAnyfcY+ORWmDzShg1sAPTcHg3+aOMlQjdSIy/ZWmomc25ZYhmR6+im7VvfsJjG7ObqPWp4c4F6Kn9O1FjVNwww5KiHwl+ovp1kfdCeIIBu/bWbjZ5nclkrXtthlnb+0wmyZ1M9v8s5vT0qotbMLngI/xY8OpuLlfzC/qhDTccArwracHTK+cUwKAQD4mije36r7J9pZWnevEBznFVTqdxq5QPRj2mTYyj7RvbfRUh/6nb7EJLe7ORJ6CXoTEayt9bezTUgq4G4VRWTs7DTVZAHKwWBK41E/D5SZ8DeaXBgMt2ucKhE=