-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
30 lines (30 loc) · 2.02 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
os: linux
dist: bionic
language: node_js
node_js:
- "10"
jobs:
include:
- name: Lint
script: npm run lint
- name: Test
script: npm test
- name: Build & Deploy
script: if [ "$TRAVIS_BRANCH" == "release" ]; then npm run build:prod; else npm run build; fi
before_deploy:
- echo "Deploying!"
deploy:
- provider: firebase
skip_cleanup: true
on:
branch: master
project: devfest-pisa20-debug
token:
secure: "KHTN2D0oAlBgc3B8qK1yeNZ3ui0IvOdMzpbrtKeGFDblx54sgNvdSGuM2THz/ZB3Gb9+UQgX4jpYVhBEXwGzJ9SNVd2ZwZ2rdF6b7E9yLzzisf/ts2NTP23bxqgCkUFR3sDaxQeZHYmgazELtZunujC9oysfKYZJ4kLmDDHeU6Hca0oYhYnA8vylOfHJ41nyQnqDJ3GOWbvg9RwScQhTFlSOCwLeqdE8n/Fo5g6754kMSrerwl/MxxQit47utQuitHHH5Y42vzDKniNCPwO+0FcvWgmd54wO+/KBsgbN317EgIJQz7QCgGfuWLzl+2LqNk7SVRCGHYrjZcjJApa5vuytr0Z0l7BW5vPGt5F2+n7i8AenyNoXrbh0ihqBgN7NrQh3qPqfvEqRSZutootvsQGI7akfRKWa7/8Q88IQQY4nah00eKufzB2FkcoVUf8rGD7GjWZL6n6FTv0kmCfvYy5keNRUenOxsrcnwD/kwt9+lCJz99305m73uIbeKWG8xS0jUWMr6Vbbj7ySVeSIyTH9kxUWXVIrLSHQl4hiUKNJcsLhku8tordoj9F4u6MvJsYFbD9kPFmGP90TXHEaKEnGS14L98X93irKN23fJBewJe3V9zDIjZT0q1yzNPaXOcCInVTiVpoHFrc4zGrDJlAFLACR/1AQzWKe0MLoiTQ="
- provider: firebase
skip_cleanup: true
on:
branch: release
project: devfest-pisa20
token:
secure: "KHTN2D0oAlBgc3B8qK1yeNZ3ui0IvOdMzpbrtKeGFDblx54sgNvdSGuM2THz/ZB3Gb9+UQgX4jpYVhBEXwGzJ9SNVd2ZwZ2rdF6b7E9yLzzisf/ts2NTP23bxqgCkUFR3sDaxQeZHYmgazELtZunujC9oysfKYZJ4kLmDDHeU6Hca0oYhYnA8vylOfHJ41nyQnqDJ3GOWbvg9RwScQhTFlSOCwLeqdE8n/Fo5g6754kMSrerwl/MxxQit47utQuitHHH5Y42vzDKniNCPwO+0FcvWgmd54wO+/KBsgbN317EgIJQz7QCgGfuWLzl+2LqNk7SVRCGHYrjZcjJApa5vuytr0Z0l7BW5vPGt5F2+n7i8AenyNoXrbh0ihqBgN7NrQh3qPqfvEqRSZutootvsQGI7akfRKWa7/8Q88IQQY4nah00eKufzB2FkcoVUf8rGD7GjWZL6n6FTv0kmCfvYy5keNRUenOxsrcnwD/kwt9+lCJz99305m73uIbeKWG8xS0jUWMr6Vbbj7ySVeSIyTH9kxUWXVIrLSHQl4hiUKNJcsLhku8tordoj9F4u6MvJsYFbD9kPFmGP90TXHEaKEnGS14L98X93irKN23fJBewJe3V9zDIjZT0q1yzNPaXOcCInVTiVpoHFrc4zGrDJlAFLACR/1AQzWKe0MLoiTQ="