Skip to content

Commit

Permalink
Fixes travisCI (#2992)
Browse files Browse the repository at this point in the history
* fix(travis): adds new travis script

* fix(scripts): fixes eslint scripts

* fix(linting): fixing linting issues

* fix(travis): changes the travis config
  • Loading branch information
sankhadeeproy007 committed Nov 12, 2019
1 parent 3a4965c commit 8a288c7
Show file tree
Hide file tree
Showing 14 changed files with 116 additions and 114 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Expand Up @@ -2,7 +2,7 @@
"extends": ["airbnb", "prettier"],
"parser": "babel-eslint",
"rules": {
"indent": ["error", 2],
"indent": ["error", 2, { "SwitchCase": 1 }],
"react/require-extension": "off",
"import/order": ["error", { "newlines-between": "always" }],
"func-names": "off",
Expand Down
23 changes: 14 additions & 9 deletions .travis.yml
@@ -1,12 +1,17 @@
language: node_js
node_js:
- "node"
- "10.14.2"
- "8.14.1"
- "6.15.1"
- 'stable'
cache:
yarn: true
directories:
- node_modules
- website/node_modules
branches:
only:
- master
- next
- patch
install:
- react-native init AwesomeNativeBase
- cd AwesomeNativeBase
- npm install native-base --save
- react-native link
- react-native run-ios
- yarn
script:
- yarn lint
2 changes: 1 addition & 1 deletion dist/src/basic/Content.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/basic/Content.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/utils/getStyle.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -59,11 +59,11 @@
"eslint-config-airbnb": "^11.1.0",
"eslint-plugin-import": "^1.14.0",
"eslint-plugin-jsx-a11y": "^2.2.1",
"eslint-plugin-react": "^6.2.0",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-native": "^2.0.0",
"eslint-watch": "^5.1.2",
"flow-bin": "0.47.0",
"husky": "^3.0.0",
"husky": "^3.0.9",
"jest": "^24.8.0",
"prettier": "^1.18.2",
"pretty-quick": "^1.11.1",
Expand Down

0 comments on commit 8a288c7

Please sign in to comment.