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:
parent
7613846dd1
commit
95aac5b11b
@ -2,9 +2,6 @@ language: node_js
|
||||
node_js:
|
||||
- '7'
|
||||
env:
|
||||
global:
|
||||
- COMMIT=${TRAVIS_COMMIT::8}
|
||||
matrix:
|
||||
- MODULE=primer-css
|
||||
- MODULE=primer-core
|
||||
- MODULE=primer-product
|
||||
@ -36,7 +33,7 @@ env:
|
||||
script: cd modules/$MODULE && npm install && npm test
|
||||
deploy:
|
||||
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:
|
||||
all_branches: true
|
||||
condition: "$DEPLOY = true && $TRAVIS_PULL_REQUEST_BRANCH != master && $TRAVIS_PULL_REQUEST_BRANCH != dev"
|
||||
|
Loading…
Reference in New Issue
Block a user