Skip to content

Commit 300ff5a

Browse files
cpojerskovhus
authored andcommitted
Cleanup travis install. We don’t need the latest npm3 any longer. (jestjs#2525)
* Cleanup travis install. We don’t need the latest npm3 any longer. * Revert "Adds support for using Danger on PRs (jestjs#2508)" This reverts commit 2b81d21.
1 parent 3ab0512 commit 300ff5a

File tree

6 files changed

+39
-510
lines changed

6 files changed

+39
-510
lines changed

.flowconfig

-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
[ignore]
2-
.*/node_modules/config-chain/test/broken.json
32
.*/node_modules/react-native/.*
43
.*/node_modules/fbjs/.*
54
.*/vendor/jsonlint/.*
65
.*/examples/.*
76
.*/website/.*
8-
.*/dangerfile.js
97

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

.gitignore

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
*~
2-
*.swp
31
.DS_STORE
4-
/node_modules
2+
.eslintcache
3+
*.swp
4+
*~
55
/examples/*/node_modules/
6-
/packages/*/node_modules/
6+
/integration_tests/*/node_modules
7+
/integration_tests/transform/*/coverage
8+
/integration_tests/transform/*/node_modules
9+
/node_modules
710
/packages/*/build/
811
/packages/*/coverage/
12+
/packages/*/node_modules/
913
/website/build
1014
/website/node_modules
11-
/integration_tests/transform/*/coverage
12-
/integration_tests/transform/*/node_modules
13-
/integration_tests/*/node_modules
14-
npm-debug.log
15-
website/core/metadata*.js
16-
website/src/jest/docs
17-
website/src/jest/blog
15+
coverage
1816
lerna-debug.log
1917
npm-debug.log*
20-
coverage
21-
.eslintcache
18+
website/core/metadata*.js
19+
website/src/jest/blog
20+
website/src/jest/docs
21+
yarn-error.log

.travis.yml

-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ cache:
1313
- ".eslintcache"
1414
- "node_modules"
1515

16-
before_install:
17-
- npm install npm@latest
18-
1916
script:
2017
- (cd packages/eslint-plugin-jest && yarn link)
2118
- yarn link eslint-plugin-jest

dangerfile.js

-75
This file was deleted.

package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"babel-plugin-transform-flow-strip-types": "^6.18.0",
1111
"chalk": "^1.1.3",
1212
"codecov": "^1.0.1",
13-
"danger": "^0.8.0",
1413
"eslint": "^3.11.1",
1514
"eslint-plugin-babel": "^4.0.0",
1615
"eslint-plugin-flow-vars": "^0.5.0",
@@ -22,7 +21,6 @@
2221
"istanbul-api": "^1.1.0",
2322
"istanbul-lib-coverage": "^1.0.0",
2423
"jasmine-reporters": "^2.2.0",
25-
"jest-runtime": "file:./packages/jest-runtime/",
2624
"jsdom": "^9.9.1",
2725
"left-pad": "^1.1.1",
2826
"lerna": "2.0.0-beta.32",
@@ -45,7 +43,7 @@
4543
"postinstall": "node ./scripts/postinstall.js && node ./scripts/build.js",
4644
"publish": "yarn run build-clean && yarn run build && lerna publish",
4745
"test": "yarn run typecheck && yarn run lint && yarn run build && yarn run jest && yarn run test-examples",
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",
46+
"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",
4947
"test-examples": "node scripts/test_examples.js",
5048
"typecheck": "flow check",
5149
"watch": "yarn run build; node ./scripts/watch.js"

0 commit comments

Comments
 (0)