Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
build fix
  • Loading branch information
xmlking committed Sep 7, 2018
1 parent ed91ffc commit deac7a9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Expand Up @@ -22,11 +22,12 @@ stages:
# - test
# - build
- name: release
if: branch = master AND type IN (push)
# if: branch = master AND type IN (push)
if: branch = master AND tag IS present
- name: deploy
if: branch = master AND type != pull_request
- name: docs
if: branch = master AND type != pull_request
if: branch = master AND tag IS present

jobs:
include:
Expand All @@ -48,6 +49,7 @@ jobs:
# - npm run build:mock

- stage: release # semantic release - create changelog
if: branch = master AND tag IS present
script: skip
deploy:
provider: script
Expand All @@ -56,7 +58,6 @@ jobs:

- stage: release # github release
if: branch = master AND tag IS present
install: skip
script: npm run build:mock
before_deploy:
- tar czvf webapp.tar.gz -C dist/apps/webapp .
Expand All @@ -67,7 +68,6 @@ jobs:
skip_cleanup: true

- stage: deploy
install: skip
script: npm run build:mock
deploy:
provider: pages
Expand All @@ -78,8 +78,6 @@ jobs:
keep-history: true

- stage: docs
if: branch = master AND tag IS present
install: skip
script: npm run doc:build
deploy:
provider: pages
Expand Down

0 comments on commit deac7a9

Please sign in to comment.