Browse Source

Bring back coverage report. (#1620)

* Add back solidity-coverage (using fork).

* Pin fork version.
Nicolás Venturo 6 years ago
parent
commit
a09cf147ea
3 changed files with 1781 additions and 6874 deletions
  1. 4 5
      .travis.yml
  2. 1776 6868
      package-lock.json
  3. 1 1
      package.json

+ 4 - 5
.travis.yml

@@ -25,11 +25,10 @@ jobs:
       name: "Unit tests"
       script: npm run test
 
-# solidity-coverage fails at parsing 0.5.x code
-#    - stage: tests
-#      name: "Unit tests with coverage report"
-#      script: npm run test
-#      env: SOLIDITY_COVERAGE=true
+    - stage: tests
+      name: "Unit tests with coverage report"
+      script: npm run test
+      env: SOLIDITY_COVERAGE=true
 
     - stage: tests
       name: "Unit tests using solc nightly"

File diff suppressed because it is too large
+ 1776 - 6868
package-lock.json


+ 1 - 1
package.json

@@ -55,7 +55,7 @@
     "openzeppelin-test-helpers": "^0.1.1",
     "pify": "^4.0.1",
     "solhint": "^1.5.0",
-    "solidity-coverage": "^0.5.4",
+    "solidity-coverage": "https://github.com:rotcivegaf/solidity-coverage.git#5875f5b7bc74d447f3312c9c0e9fc7814b482477",
     "truffle": "^5.0.0"
   },
   "dependencies": {}

Some files were not shown because too many files changed in this diff