Fix travis

This commit is contained in:
Rodrigo Nascimento 2017-08-23 11:38:05 -03:00
parent e0cc6318ee
commit ead788a7bf
6 changed files with 35 additions and 8 deletions

View File

@ -36,6 +36,7 @@
"react/forbid-prop-types": 0,
"jsx-quotes": [2, "prefer-single"],
"jsx-a11y/href-no-hash": 0,
"import/prefer-default-export": 0,
"no-underscore-dangle": 0,
"no-return-assign": 0,
"no-param-reassign": 0,

View File

@ -1,3 +1,8 @@
branches:
only:
- develop
- "/^\\d+\\.\\d+\\.\\d+(-rc\\.\\d+)?$/"
matrix:
include:
- os: linux

View File

@ -1,3 +1 @@
module.exports = {
CachedImage: 'CachedImage'
};
export const CachedImage = 'CachedImage';

View File

@ -1,6 +1,4 @@
module.exports = {
Navigation: {
registerComponent: () => {},
startSingleScreenApp: () => {}
}
export const Navigation = {
registerComponent: () => {},
startSingleScreenApp: () => {}
};

23
package-lock.json generated
View File

@ -383,6 +383,12 @@
"sprintf-js": "1.0.3"
}
},
"argv": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/argv/-/argv-0.0.2.tgz",
"integrity": "sha1-7L0W+JSbFXGDcRsb2jNPN4QBhas=",
"dev": true
},
"aria-query": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/aria-query/-/aria-query-0.7.0.tgz",
@ -2248,6 +2254,17 @@
"resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
"integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c="
},
"codecov": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/codecov/-/codecov-2.3.0.tgz",
"integrity": "sha1-rSWixuBELRN0DZ1N27mj4nFDMPQ=",
"dev": true,
"requires": {
"argv": "0.0.2",
"request": "2.81.0",
"urlgrey": "0.4.4"
}
},
"color": {
"version": "0.11.4",
"resolved": "https://registry.npmjs.org/color/-/color-0.11.4.tgz",
@ -11355,6 +11372,12 @@
"requires-port": "1.0.0"
}
},
"urlgrey": {
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/urlgrey/-/urlgrey-0.4.4.tgz",
"integrity": "sha1-iS/pWWCAXoVRnxzUOJ8stMu3ZS8=",
"dev": true
},
"util": {
"version": "0.10.3",
"resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz",

View File

@ -5,6 +5,7 @@
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"updateSnapshot": "jest --updateSnapshot",
"lint": "eslint .",
"ci": "eslint . && jest && codecov",
"ios": "react-native run-ios",
@ -53,6 +54,7 @@
"babel-eslint": "^7.2.3",
"babel-jest": "20.0.3",
"babel-preset-react-native": "2.1.0",
"codecov": "^2.3.0",
"eslint": "^4.4.0",
"eslint-config-airbnb": "^15.1.0",
"eslint-plugin-import": "^2.7.0",