aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 3afac06d589387f505de88c908e6fd7a26c78a92 (plain)
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
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