Skip to content

Commit 043eb6c

Browse files
committed
Merge branch 'master' of git://github.com/facebook/jest into danger
2 parents 2cae131 + be08b58 commit 043eb6c

File tree

5 files changed

+12
-16
lines changed

5 files changed

+12
-16
lines changed

.flowconfig

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
.*/vendor/jsonlint/.*
55
.*/examples/.*
66
.*/website/.*
7+
dangerfile.js
78

89
[options]
910
module.name_mapper='^types/\(.*\)$' -> '<PROJECT_ROOT>/types/\1.js'

.travis.yml

+7-11
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,18 @@ node_js:
55
- "6"
66
- "7"
77

8-
sudo: required
8+
sudo: false
99

1010
cache:
11+
yarn: true
1112
directories:
1213
- ".eslintcache"
1314
- "node_modules"
14-
- $HOME/.yarn-cache
1515

1616
before_install:
17-
# Repo for Yarn
18-
- sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
19-
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
20-
- sudo apt-get update -qq
21-
- sudo apt-get install -y -qq yarn
22-
- yarn global add npm@latest
17+
- npm install npm@latest
2318

24-
install: yarn
25-
26-
script: yarn run test-ci
19+
script:
20+
- (cd packages/eslint-plugin-jest && yarn link)
21+
- yarn link eslint-plugin-jest
22+
- yarn run test-ci

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"eslint-plugin-babel": "^4.0.0",
1616
"eslint-plugin-flow-vars": "^0.5.0",
1717
"eslint-plugin-flowtype": "^2.28.2",
18-
"eslint-plugin-jest": "file:packages/eslint-plugin-jest",
1918
"eslint-plugin-react": "^6.7.1",
2019
"flow-bin": "^0.37.0",
2120
"glob": "^7.1.1",
@@ -46,7 +45,7 @@
4645
"postinstall": "node ./scripts/postinstall.js && node ./scripts/build.js",
4746
"publish": "yarn run build-clean && yarn run build && lerna publish",
4847
"test": "yarn run typecheck && yarn run lint && yarn run build && yarn run jest && yarn run test-examples",
49-
"test-ci": "yarn run danger",
48+
"test-ci": "yarn run typecheck && yarn run lint && yarn run build && yarn run jest-coverage -- -i && yarn run test-examples && node scripts/mapCoverage.js && codecov && yarn run danger",
5049
"test-examples": "node scripts/test_examples.js",
5150
"typecheck": "flow check",
5251
"watch": "yarn run build; node ./scripts/watch.js"

packages/babel-jest/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"main": "build/index.js",
1010
"dependencies": {
1111
"babel-core": "^6.0.0",
12-
"babel-plugin-istanbul": "^3.0.0",
12+
"babel-plugin-istanbul": "^3.1.2",
1313
"babel-preset-jest": "^18.0.0"
1414
}
1515
}

yarn.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ ajv-keywords@^1.0.0:
3535
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-1.5.0.tgz#c11e6859eafff83e0dafc416929472eca946aa2c"
3636

3737
ajv@^4.7.0:
38-
version "4.10.3"
39-
resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.10.3.tgz#3e4fea9675b157de7888b80dd0ed735b83f28e11"
38+
version "4.10.4"
39+
resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.10.4.tgz#c0974dd00b3464984892d6010aa9c2c945933254"
4040
dependencies:
4141
co "^4.6.0"
4242
json-stable-stringify "^1.0.1"

0 commit comments

Comments
 (0)