From c1c5f202a81af81aa30400c9c68c7413c3615714 Mon Sep 17 00:00:00 2001 From: Dmitry Podelnik <45734486+DmitryPodelnik@users.noreply.github.com> Date: Thu, 19 May 2022 11:59:07 +0300 Subject: [PATCH 1/4] Update travis.yml and add .solcover.js --- .solcover.js | 3 +++ .travis.yml | 34 +++++++++++----------------------- 2 files changed, 14 insertions(+), 23 deletions(-) create mode 100644 .solcover.js diff --git a/.solcover.js b/.solcover.js new file mode 100644 index 0000000..a907046 --- /dev/null +++ b/.solcover.js @@ -0,0 +1,3 @@ +module.exports = { + client: require("ganache-cli") // Will load the outermost ganache-cli in node_modules +}; \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index b8c80b6..1061cf1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,28 +1,16 @@ -dist: xenial +os: linux +dist: bionic sudo: required language: node_js -node_js: - - "12.19.0" - -matrix: - include: - - os: linux - dist: xenial - before_install: - - sudo add-apt-repository ppa:ethereum/ethereum -y - - sudo apt-get update - - sudo apt-get install build-essential -y - - sudo apt-get install gcc g++ libssl-dev libudev-dev pkg-config - - curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - - - sudo apt-get install -y nodejs - - rm -rf node_modules - -install: - - bash ./bin/travis-install.sh -script: - - bash ./bin/test.sh -after_script: - - bash <(curl -s https://codecov.io/bash) +node_js: "16.13.1" +addons: + apt: + sources: deadsnakes + packages: python3.8 + +install: npm i && npm i -g truffle +script: truffle run coverage +after_script: bash <(curl -s https://codecov.io/bash) \ No newline at end of file From fb01e57e8070d90e5381832261d51e7e45cf92af Mon Sep 17 00:00:00 2001 From: Dmitry Podelnik <45734486+DmitryPodelnik@users.noreply.github.com> Date: Thu, 19 May 2022 11:59:51 +0300 Subject: [PATCH 2/4] Update travis.yml and add .solcover.js --- .travis.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1061cf1..ca906f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,4 @@ addons: install: npm i && npm i -g truffle script: truffle run coverage -after_script: bash <(curl -s https://codecov.io/bash) - - - \ No newline at end of file +after_script: bash <(curl -s https://codecov.io/bash) \ No newline at end of file From 6512444e506de1b798a3680c5b74bdd1ca305a0c Mon Sep 17 00:00:00 2001 From: Dmitry Podelnik <45734486+DmitryPodelnik@users.noreply.github.com> Date: Thu, 19 May 2022 14:26:05 +0300 Subject: [PATCH 3/4] Update travis.yml --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ca906f0..20c040d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,6 @@ addons: apt: sources: deadsnakes packages: python3.8 - install: npm i && npm i -g truffle script: truffle run coverage after_script: bash <(curl -s https://codecov.io/bash) \ No newline at end of file From bf2798a01cf7e857b1d6dc47da515325188485f4 Mon Sep 17 00:00:00 2001 From: Dmitry Podelnik <45734486+DmitryPodelnik@users.noreply.github.com> Date: Thu, 19 May 2022 15:28:07 +0300 Subject: [PATCH 4/4] Update travis.yml --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index edddc98..ff3ad5c 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "babel-register": "^6.23.0", "big-number": "^2.0.0", "ethereumjs-wallet": "^1.0.1", + "ganache-cli": "^6.12.2", "ganache-time-traveler": "^1.0.15", "moonbeam-truffle-plugin": "^1.1.6", "node-fetch": ">=2.6.1",