Skip to content

Commit

Permalink
Merge pull request #3 from kenshoo/talyak_add_travis
Browse files Browse the repository at this point in the history
Add travis configuration
  • Loading branch information
liorheber authored Mar 20, 2018
2 parents 85f959d + 641ec6d commit 5320cdb
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 7 deletions.
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
language: node_js
node_js:
- "8"

script:
- npm run build:production
- npm test

after_success:
npm run build-storybook

deploy:
local-dir: "./storybook-static"
provider: pages
skip-cleanup: true
github-token: $GH_TOKEN
keep-history: true
on:
branch: master
2 changes: 1 addition & 1 deletion config/enzyme/tempPolyfills.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const raf = global.requestAnimationFrame = (cb) => {
setTimeout(cb, 0)
}
};

export default raf
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"scripts": {
"build": "webpack --config config/webpack/webpack.dev.js",
"build:stats": "NODE_ENV=production webpack --config config/webpack/webpack.prod.js -p --bail --json > stats.json",
"build:production": "webpack --config config/webpack/webpack.prod.js",
"test": "cross-env BABEL_DISABLE_CACHE=1 jest --config config/jest/jest.config.json",
"test:watch": "cross-env BABEL_DISABLE_CACHE=1 jest --watchAll --config config/jest/jest.config.json",
"storybook": "start-storybook -p 6006",
Expand Down Expand Up @@ -52,6 +53,7 @@
"jest-sandbox": "^1.1.1",
"jsdom": "^11.3.0",
"json-loader": "^0.5.4",
"lodash": "^4.17.5",
"node-sass": "^4.5.0",
"nodemon": "^1.9.1",
"postcss-loader": "^2.0.6",
Expand All @@ -71,8 +73,7 @@
"webpack-cli": "^2.0.12",
"webpack-dev-server": "^2.2.0",
"webpack-merge": "^4.1.2",
"webpack-strip": "^0.1.0",
"lodash": "^4.17.5"
"webpack-strip": "^0.1.0"
},
"peerDependencies": {
"react": "^15.0.0-0 || ^16.0.0",
Expand Down
29 changes: 25 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2360,7 +2360,7 @@ class-utils@^0.3.5:
isobject "^3.0.0"
static-extend "^0.1.1"

[email protected], classnames@^2.2.5:
[email protected], classnames@^2.2.3, classnames@^2.2.5:
version "2.2.5"
resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.2.5.tgz#fb3801d453467649ef3603c7d61a02bd129bde6d"

Expand Down Expand Up @@ -2648,6 +2648,10 @@ console-control-strings@^1.0.0, console-control-strings@~1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"

consolidated-events@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/consolidated-events/-/consolidated-events-1.1.1.tgz#25395465b35e531395418b7bbecb5ecaf198d179"

constants-browserify@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75"
Expand Down Expand Up @@ -3246,7 +3250,7 @@ dom-converter@~0.1:
dependencies:
utila "~0.3"

dom-helpers@^3.2.0, dom-helpers@^3.2.1:
"dom-helpers@^2.4.0 || ^3.0.0", dom-helpers@^3.2.0, dom-helpers@^3.2.1:
version "3.3.1"
resolved "https://registry.yarnpkg.com/dom-helpers/-/dom-helpers-3.3.1.tgz#fc1a4e15ffdf60ddde03a480a9c0fece821dd4a6"

Expand Down Expand Up @@ -6763,7 +6767,7 @@ longest@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097"

loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1:
loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.0, loose-envify@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848"
dependencies:
Expand Down Expand Up @@ -8412,7 +8416,7 @@ promise@^7.1.1:
dependencies:
asap "~2.0.3"

prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.6, prop-types@^15.5.7, prop-types@^15.5.8, prop-types@^15.5.9, prop-types@^15.6.0:
prop-types@^15.0.0, prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.6, prop-types@^15.5.7, prop-types@^15.5.8, prop-types@^15.5.9, prop-types@^15.6.0:
version "15.6.1"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.1.tgz#36644453564255ddda391191fb3a125cbdf654ca"
dependencies:
Expand Down Expand Up @@ -8845,6 +8849,23 @@ react-treebeard@^2.1.0:
shallowequal "^0.2.2"
velocity-react "^1.3.1"

react-virtualized@^9.18.5:
version "9.18.5"
resolved "https://registry.yarnpkg.com/react-virtualized/-/react-virtualized-9.18.5.tgz#42dd390ebaa7ea809bfcaf775d39872641679b89"
dependencies:
babel-runtime "^6.26.0"
classnames "^2.2.3"
dom-helpers "^2.4.0 || ^3.0.0"
loose-envify "^1.3.0"
prop-types "^15.6.0"

react-waypoint@^8.0.1:
version "8.0.1"
resolved "https://registry.yarnpkg.com/react-waypoint/-/react-waypoint-8.0.1.tgz#00f7694a9d54da5a50be859da5dde96b1795b892"
dependencies:
consolidated-events "^1.1.0"
prop-types "^15.0.0"

react@^16.0.0:
version "16.2.0"
resolved "https://registry.yarnpkg.com/react/-/react-16.2.0.tgz#a31bd2dab89bff65d42134fa187f24d054c273ba"
Expand Down

0 comments on commit 5320cdb

Please sign in to comment.