Skip to content

Commit

Permalink
Use pre-built binary for Code Climate
Browse files Browse the repository at this point in the history
  • Loading branch information
ohtake committed May 24, 2019
1 parent b29efc1 commit 4d2f2cb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 28 deletions.
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,26 @@ cache:
- node_modules
env:
global:
# CODECLIMATE_REPO_TOKEN
- secure: "QihmjCmSiHY6FnzHTNP0u4SEEB3JkxEMJeCjveyGFgQa7r4SG8HuA5b3WIEo7eDWQHq9+p0NknVmk5TNRSTZdXI/Pq6WLDzDohDK79B4lnM5JQnBh8WGYAnU/6ewfmX0cg4AhL0ey8yrYB744RoDwiPikALL6oEA0sdt4cQxvzIK7fxyDdYa10Fu6OwmsWgsxMpfbQktRE6n35LBmqOwlQIhm2WhF9wv4bI9XAgu6qxhi9m9MqZ8obLXqiIh/lAzpxxzoCdpb0M4ovzLtL20hfl4eDkJEozz5AffxvtmOmYD3bJNVXuGGIItXZAkPPZMwONnCL/bSxZJF8tYcDSwiswzA0IEZ/sNmKPAUVj0zzIKr5n8wNyNDZ8UIayoxMgb5bKSjjFizBxmt0pHnFNzGPfOYMXkq5BR92XXc5sfrBGAV3y/i4IYtTQmNsVSXW1/Uy9+jZUVhfWKz7RLUsLvLHwWqA+vLhqFCip/Z4xw5EFfsfXlZb/eWam75AtQDPiOj0x6Bh5Rq54Z0nRTuU0Q79VHWDrtPsiIRnCTVJ9hxscuc8auvypXlN62npiUzUWfj00ZPubd6pGGUe7ZoRWPAH9dQGXTHW/elfM2Ice+MFe2Kk/kQHmdbh1Skt95AtfUgWr6DamjFpE6RLezMnDhcdlE1vzUDXjZmkh8qEbVorY="
# CC_TEST_REPORTER_ID
- secure: "aBlxCcn2sS8J1Y3W9heWLXKQUyK/w4ebydk85EnW9cytQh71rYucyvdRKLx+/d5nqkgstCVd3YQS/qneEEl0XRn5py9j5eI1n25VtlMbotOoQ2GTeXBsx83ij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H9uHHXrgtwtvjqL28M0yivSuBut+CCtfi26RZdnP+xDDahBcBG8EOLiQGx/PP99s2ItDgJ0L9SL6UXfyVIZY0mqdYkc6GJO8VvQsKjDb0axS4oKgXXcDbViPb6lqAiqdxq936nkG32PdqpxIiSD3DkwGugxy4tWphLEgKggQQ71/Qk94NgCxrQWru1I6hMKa/LxTv1xxmXI8l60SRDN1eH4QU="
- AWS_DEFAULT_REGION=ap-northeast-1
- ECS_CLUSTER=cattaz2
- ECS_SERVICE=cattaz-ecs2-EcsService-1X471KVWUPJT1
- ECS_REPO=cattaz
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- ./scripts/run-travis-tests.sh
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT # Rquires CC_TEST_REPORTER_ID
after_success:
- ./node_modules/.bin/codecov # CODECOV_TOKEN is not required for Travis to test public repositories
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js # COVERALLS_SERVICE_NAME and COVERALLS_REPO_TOKEN env variables is not required for Travis
- ./node_modules/.bin/codeclimate-test-reporter < coverage/lcov.info # Needs CODECLIMATE_REPO_TOKEN env variable
before_deploy:
- sudo apt-get update
- sudo apt-get install -y python-pip
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"babel-loader": "^8.0.6",
"babel-plugin-istanbul": "^5.1.4",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"codeclimate-test-reporter": "^0.5.1",
"codecov": "^3.5.0",
"copy-webpack-plugin": "^5.0.3",
"coveralls": "^3.0.3",
Expand Down
33 changes: 9 additions & 24 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2179,11 +2179,6 @@ async@^2.1.4:
dependencies:
lodash "^4.17.11"

async@~1.5.2:
version "1.5.2"
resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
integrity sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=

asynckit@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
Expand Down Expand Up @@ -3484,16 +3479,6 @@ code-point-at@^1.0.0:
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=

codeclimate-test-reporter@^0.5.1:
version "0.5.1"
resolved "https://registry.yarnpkg.com/codeclimate-test-reporter/-/codeclimate-test-reporter-0.5.1.tgz#2fd517e1a7932b00b0aafffc8d1dfbe91d0443cf"
integrity sha512-XCzmc8dH+R4orK11BCg5pBbXc35abxq9sept4YvUFRkFl9zb9MIVRrCKENe6U1TKAMTgvGJmrYyHn0y2lerpmg==
dependencies:
async "~1.5.2"
commander "2.9.0"
lcov-parse "0.0.10"
request "~2.88.0"

codecov@^3.5.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/codecov/-/codecov-3.5.0.tgz#3d0748932f9cb41e1ad7f21fa346ef1b2b1bed47"
Expand Down Expand Up @@ -3579,13 +3564,6 @@ commander@2.17.x:
resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf"
integrity sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==

commander@2.9.0, commander@~2.9.0:
version "2.9.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4"
integrity sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=
dependencies:
graceful-readlink ">= 1.0.0"

commander@^2.11.0, commander@^2.19.0, commander@^2.8.1, commander@~2.20.0:
version "2.20.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422"
Expand All @@ -3596,6 +3574,13 @@ commander@~2.19.0:
resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a"
integrity sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg==

commander@~2.9.0:
version "2.9.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4"
integrity sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=
dependencies:
graceful-readlink ">= 1.0.0"

common-path-prefix@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/common-path-prefix/-/common-path-prefix-1.0.0.tgz#cd52f6f0712e0baab97d6f9732874f22f47752c0"
Expand Down Expand Up @@ -7251,7 +7236,7 @@ lcid@^2.0.0:
dependencies:
invert-kv "^2.0.0"

lcov-parse@0.0.10, lcov-parse@^0.0.10:
lcov-parse@^0.0.10:
version "0.0.10"
resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-0.0.10.tgz#1b0b8ff9ac9c7889250582b70b71315d9da6d9a3"
integrity sha1-GwuP+ayceIklBYK3C3ExXZ2m2aM=
Expand Down Expand Up @@ -10080,7 +10065,7 @@ replace-ext@1.0.0:
resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb"
integrity sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs=

request@^2.55.0, request@^2.86.0, request@~2.88.0:
request@^2.55.0, request@^2.86.0:
version "2.88.0"
resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef"
integrity sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==
Expand Down

0 comments on commit 4d2f2cb

Please sign in to comment.