Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
language: node_js

node_js:
- 8
- 6

cache:
directories:
- ~/.npm

notifications:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are also HipChat notifications that we should implement later (I just didn't have the HipChat authentication information)

email:
recipients:
- arizzitano@edx.org
- jbradley@edx.org
on_success: always
on_failure: always
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I figure we can adjust this once we get a feel for the notification emails and have ironed out any kinks.

Side question: do you know whether there's a way to send build failure emails to the person who merged the PR? Not a requirement for this PR (actually probably should go in a separate one) but a nice-to-have for the future.


script:
- npm run lint
- npm run test

after_script:
- npm run coveralls
- npm run semantic-release
13 changes: 12 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@edx/paragon",
"version": "1.1.7",
"version": "0.0.0-development",
"description": "Accessible, responsive UI component library based on Bootstrap.",
"main": "src/index.js",
"author": "arizzitano",
Expand All @@ -13,6 +13,8 @@
"deploy-storybook": "storybook-to-ghpages",
"lint": "eslint --ext .js --ext .jsx .",
"precommit": "npm run lint",
"commit": "git-cz",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the expected behavior of this hook? I just did a test commit and it appeared to run but didn't seem to do anything. Do contributors need to install and run cz-cli locally?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed in person; we will address this in a follow-on PR.

"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"snapshot": "jest --updateSnapshot",
"start": "start-storybook -p 6006",
"test": "jest --coverage"
Expand All @@ -32,6 +34,7 @@
"@storybook/addon-console": "^1.0.0",
"@storybook/addon-options": "^3.2.6",
"@storybook/addon-storyshots": "^3.2.8",
"@storybook/channels": "^3.2.15",
"@storybook/react": "^3.2.12",
"@storybook/storybook-deployer": "^2.0.0",
"babel-cli": "^6.24.1",
Expand All @@ -42,8 +45,10 @@
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-env": "^1.4.0",
"babel-preset-react": "^6.24.1",
"commitizen": "^2.9.6",
"coveralls": "^3.0.0",
"css-loader": "^0.28.4",
"cz-conventional-changelog": "^2.1.0",
"enzyme": "^2.8.2",
"eslint": "^4.5.0",
"eslint-config-airbnb": "^15.0.1",
Expand All @@ -61,6 +66,7 @@
"react-router-dom": "^4.1.1",
"react-test-renderer": "^15.6.1",
"sass-loader": "^6.0.5",
"semantic-release": "^8.2.0",
"source-map-loader": "^0.2.1",
"style-loader": "^0.19.0",
"webpack": "^3.0.0",
Expand All @@ -76,5 +82,10 @@
"/node_modules/",
"(.stories)\\.(jsx)$"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}