forked from leewinder/ng2-google-recaptcha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (35 loc) · 907 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
# Language
language: node_js
node_js:
- "node"
# Branches to build
branches:
only:
- master
- develop
# Build both library and samples
# We want any of these steps to fail the entire build
# We're also doing the install step here too, as we need
# the results of previous builds to install future builds
script:
- cd "development"
&& npm install
&& npm install -g npm-cli-login
&& tsc -p tsconfig-ci.json
&& cd "../automation"
&& python prepare_distribution_package.py
&& python create_local_package.py
&& cd "../samples"
&& npm install
&& tsc -p tsconfig-ci.json
&& cd "../automation"
&& python prepare_distribution_package.py
&& python create_local_package.py
&& python publish_release_package.py
# Notifications
notifications:
email:
recipients:
- lee.winder@gmail.com
on_success: change
on_failure: change