forked from maciejtreder/ng-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (38 loc) · 3.71 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
32
33
34
35
36
37
38
39
language: node_js
node_js: node
before_install:
- pip install --user awscli
- export PATH=$PATH:$HOME/.local/bin
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
> ./cc-test-reporter
- chmod +x ./cc-test-reporter
- "./cc-test-reporter before-build"
script:
- if [ "$TRAVIS_BRANCH" != "master" ]; then ./build_and_generate_from_schematics.sh; fi
- if [ "$TRAVIS_BRANCH" = "master" ]; then ./build_and_deploy_from_schematics.sh; fi
after_script:
- "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
before_deploy:
- pwd
- cd schematics
deploy:
provider: npm
email: [email protected]
skip_cleanup: true
on:
tags: true
repo: maciejtreder/angular-universal-pwa
branch: master
api_key:
secure: rkhQGqIjGE6JYl+iU6XON+CyHmiTO3sG/B0qLicFWsvF4UcdDk0otyTdS8xiQIpjwomLs3iNBPoYLmAyfbrbPnqkUK/jb1ceGp6/vUeWGIOJajEHRXYhGGGHesacu/BUjfkGZK0y0ku66YQhNvYSEmzCgOBMWZqwuF4W+I2eyoWP4UCxAgUldtMcjfXvDEW8NPbCAASMf694Kar/4TLP9K61+xmyp5BKNlBjE3CgLW7PT+g24Bi8HU3Hwfm8DQ/hV7IxcJ5P/XIzojVg8BgyaSTr4xvSKTLTLgsjjM7Y2xne0RQ0vMxBxcmOCnduuwqNJlqDf1KV/hg2wwkP0InKnmBFZm/Sdezl0S7O7KTYlzNuaObTW8wvTspwM+W0K38WuSRbtHS26ItgnVr/YidLLd/B9pqcXosc7KQ3hTd+R5bqHmXxItyBX2Qf8m/IgnZY19bZi/r7qd6SO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