aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..3afac06
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,31 @@
+language: node_js
+node_js:
+- 6
+install: npm install
+script:
+- npm run build-common
+- npm test
+- npm run build
+- npm run build-gh-pages
+deploy:
+ - provider: npm
+ email: onap.sdc@gmail.com
+ api_key: $NPM_TOKEN
+ skip_cleanup: true
+ on:
+ tags: true
+ repo: onap-sdc/sdc-ui
+ - provider: pages
+ repo: onap-sdc/sdc-ui
+ skip_cleanup: true
+ github_token: $GITHUB_TOKEN
+ local_dir: .out
+ on:
+ branch: master
+ - provider: pages
+ skip_cleanup: true
+ github_token: $GITHUB_TOKEN
+ local_dir: .out
+ on:
+ all_branches: true
+ condition: $DEPLOY = 1