aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.circleci/config.yml20
-rwxr-xr-xtest/externalTests.sh3
2 files changed, 5 insertions, 18 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 6c5f3e85..c13bef35 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -68,7 +68,7 @@ jobs:
- version.txt
test_emscripten_solcjs:
docker:
- - image: trzeci/emscripten:sdk-tag-1.37.21-64bit
+ - image: circleci/node:10
environment:
TERM: xterm
steps:
@@ -78,23 +78,15 @@ jobs:
- run:
name: Install external tests deps
command: |
- apt-get -qq update
- apt-get -qy install netcat curl
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh | NVM_DIR=/usr/local/nvm bash
- export NVM_DIR="/usr/local/nvm"
- [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
- nvm --version
- nvm install 8
node --version
npm --version
- run:
name: Test solcjs
command: |
- . /usr/local/nvm/nvm.sh
test/solcjsTests.sh /tmp/workspace/soljson.js $(cat /tmp/workspace/version.txt)
test_emscripten_external:
docker:
- - image: trzeci/emscripten:sdk-tag-1.37.21-64bit
+ - image: circleci/node:10
environment:
TERM: xterm
steps:
@@ -104,19 +96,11 @@ jobs:
- run:
name: Install external tests deps
command: |
- apt-get -qq update
- apt-get -qy install netcat curl
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh | NVM_DIR=/usr/local/nvm bash
- export NVM_DIR="/usr/local/nvm"
- [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
- nvm --version
- nvm install 8
node --version
npm --version
- run:
name: External tests
command: |
- . /usr/local/nvm/nvm.sh
test/externalTests.sh /tmp/workspace/soljson.js || test/externalTests.sh /tmp/workspace/soljson.js
build_x86_linux:
docker:
diff --git a/test/externalTests.sh b/test/externalTests.sh
index 93581925..16f9e55a 100755
--- a/test/externalTests.sh
+++ b/test/externalTests.sh
@@ -79,6 +79,7 @@ function test_truffle
fi
# Change "compileStandard" to "compile"
sed -i s/solc.compileStandard/solc.compile/ "node_modules/truffle/build/cli.bundled.js"
+ npx truffle compile
npm run test
)
rm -rf "$DIR"
@@ -89,3 +90,5 @@ test_truffle Zeppelin https://github.com/axic/openzeppelin-solidity.git solidity
# Disabled temporarily as it needs to be updated to latest Truffle first.
#test_truffle Gnosis https://github.com/axic/pm-contracts.git solidity-050
+
+test_truffle GnosisSafe https://github.com/gnosis/safe-contracts.git development