Skip to content

Commit

Permalink
chore: update env (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Ziv authored and OrenMe committed Jul 30, 2017
1 parent 1abc17f commit 6980815
Show file tree
Hide file tree
Showing 19 changed files with 34,213 additions and 490 deletions.
4 changes: 3 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"presets": ["es2015"],
"presets": [
"es2015"
],
"plugins": [
"transform-flow-strip-types",
"transform-class-properties"
Expand Down
6 changes: 6 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
"rules": {
"mocha-no-only/mocha-no-only": [
"error"
],
"require-jsdoc": [
"error"
],
"valid-jsdoc": [
"error"
]
}
}
16 changes: 16 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[ignore]
.*/node_modules/conventional-changelog-core/test/fixtures/_malformation.json
.*/node_modules/playkit-js/src/
.*/node_modules/playkit-js-hls/src/
.*/node_modules/playkit-js-dash/src/
.*/node_modules/playkit-js-ui/src/
.*/node_modules/playkit-js-providers/src/
[include]
[libs]
node_modules/playkit-js/flow-typed/
node_modules/playkit-js-hls/flow-typed/
node_modules/playkit-js-dash/flow-typed/
node_modules/playkit-js-ui/flow-typed/
node_modules/playkit-js-providers/flow-typed/
[options]
unsafe.enable_getters_and_setters=true
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ jspm_packages
# Optional REPL history
.node_repl_history

dist

.idea


24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
sudo: required
dist: trusty
language: node_js
node_js:
- "node"

cache:
yarn: true
directories:
- node_modules

before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get update
- sudo apt-get install -y libappindicator1 fonts-liberation
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome*.deb

script:
- npm run eslint
- npm run flow
- npm run test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# KalturaPlayerJS
# kaltura-player
Loading

0 comments on commit 6980815

Please sign in to comment.