1
1
mirror of https://github.com/primer/css.git synced 2024-11-28 13:12:16 +03:00

removing global commit variable and installing dev dependencies

This commit is contained in:
Jon Rohan 2017-07-07 14:26:23 -07:00
parent 7613846dd1
commit 95aac5b11b

View File

@ -2,41 +2,38 @@ language: node_js
node_js: node_js:
- '7' - '7'
env: env:
global: - MODULE=primer-css
- COMMIT=${TRAVIS_COMMIT::8} - MODULE=primer-core
matrix: - MODULE=primer-product
- MODULE=primer-css - MODULE=primer-marketing
- MODULE=primer-core - MODULE=primer-alerts
- MODULE=primer-product - MODULE=primer-base
- MODULE=primer-marketing - MODULE=primer-blankslate
- MODULE=primer-alerts - MODULE=primer-box
- MODULE=primer-base - MODULE=primer-breadcrumb
- MODULE=primer-blankslate - MODULE=primer-buttons
- MODULE=primer-box - MODULE=primer-cards
- MODULE=primer-breadcrumb - MODULE=primer-forms
- MODULE=primer-buttons - MODULE=primer-labels
- MODULE=primer-cards - MODULE=primer-layout
- MODULE=primer-forms - MODULE=primer-markdown
- MODULE=primer-labels - MODULE=primer-marketing
- MODULE=primer-layout - MODULE=primer-marketing-type
- MODULE=primer-markdown - MODULE=primer-marketing-utilities
- MODULE=primer-marketing - MODULE=primer-navigation
- MODULE=primer-marketing-type - MODULE=primer-page-headers
- MODULE=primer-marketing-utilities - MODULE=primer-page-sections
- MODULE=primer-navigation - MODULE=primer-support
- MODULE=primer-page-headers - MODULE=primer-table-object
- MODULE=primer-page-sections - MODULE=primer-tables
- MODULE=primer-support - MODULE=primer-tooltips
- MODULE=primer-table-object - MODULE=primer-truncate
- MODULE=primer-tables - MODULE=primer-utilities
- MODULE=primer-tooltips - MODULE=..;DEPLOY=true
- MODULE=primer-truncate
- MODULE=primer-utilities
- MODULE=..;DEPLOY=true
script: cd modules/$MODULE && npm install && npm test script: cd modules/$MODULE && npm install && npm test
deploy: deploy:
provider: script provider: script
script: cd $TRAVIS_BUILD_DIR && lerna publish --canary=commit --cd-version=patch script: cd $TRAVIS_BUILD_DIR && npm install && lerna publish --canary=commit --cd-version=patch
on: on:
all_branches: true all_branches: true
condition: "$DEPLOY = true && $TRAVIS_PULL_REQUEST_BRANCH != master && $TRAVIS_PULL_REQUEST_BRANCH != dev" condition: "$DEPLOY = true && $TRAVIS_PULL_REQUEST_BRANCH != master && $TRAVIS_PULL_REQUEST_BRANCH != dev"