diff --git a/.travis.yml b/.travis.yml index 286f5fc76785..b368d85d437a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,10 @@ cache: notifications: email: false -before_install: yarn global add greenkeeper-lockfile@1 +before_install: + - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.3.2 + - export PATH=$HOME/.yarn/bin:$PATH + - yarn global add greenkeeper-lockfile@1 before_script: greenkeeper-lockfile-update @@ -23,6 +26,16 @@ after_script: greenkeeper-lockfile-upload after_success: - yarn semantic-release -branches: +before_deploy: + - yarn build-storybook + +deploy: + skip_cleanup: true + provider: cloudfoundry + username: apikey + password: $CLOUD_API_KEY + api: https://api.ng.bluemix.net + organization: carbon-design-system + space: production on: branch: master diff --git a/manifest.yml b/manifest.yml index f18fcd30ab87..30fa12f5f54c 100644 --- a/manifest.yml +++ b/manifest.yml @@ -6,4 +6,4 @@ applications: root: storybook-static routes: - route: carbon-react-storybook.mybluemix.net - - route: react.carbondesignsystem.com \ No newline at end of file + - route: react.carbondesignsystem.com diff --git a/package.json b/package.json index 640a17dd03c8..03a83e2e849f 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "scripts": { "build": "node scripts/build.js", "build-storybook": "build-storybook", - "ci-check": "yarn prettier:diff && yarn lint && yarn test && yarn test-ssr", + "ci-check": "yarn prettier:diff && yarn lint && yarn test --runInBand && yarn test-ssr", "commitmsg": "validate-commit-msg", "lint": "eslint src", "precommit": "lint-staged",