Separates CircleCI jobs for external tests.

This commit is contained in:
Erik Kundt 2019-04-01 16:19:53 +02:00
parent 79e74b75d1
commit 20216f3a86

View File

@ -86,7 +86,7 @@ jobs:
command: | command: |
test/solcjsTests.sh /tmp/workspace/soljson.js $(cat /tmp/workspace/version.txt) test/solcjsTests.sh /tmp/workspace/soljson.js $(cat /tmp/workspace/version.txt)
test_emscripten_external: test_emscripten_external_gnosis:
docker: docker:
- image: circleci/node:10 - image: circleci/node:10
environment: environment:
@ -96,14 +96,23 @@ jobs:
- attach_workspace: - attach_workspace:
at: /tmp/workspace at: /tmp/workspace
- run: - run:
name: Install external tests deps name: External GnosisSafe tests
command: | command: |
node --version test/externalTests/gnosis.sh /tmp/workspace/soljson.js || test/externalTests/gnosis.sh /tmp/workspace/soljson.js
npm --version
test_emscripten_external_zeppelin:
docker:
- image: circleci/node:10
environment:
TERM: xterm
steps:
- checkout
- attach_workspace:
at: /tmp/workspace
- run: - run:
name: External tests name: External Zeppelin tests
command: | command: |
test/externalTests.sh /tmp/workspace/soljson.js || test/externalTests.sh /tmp/workspace/soljson.js test/externalTests/zeppelin.sh /tmp/workspace/soljson.js || test/externalTests/zeppelin.sh /tmp/workspace/soljson.js
build_x86_linux: build_x86_linux:
docker: docker:
@ -393,7 +402,11 @@ workflows:
<<: *build_on_tags <<: *build_on_tags
requires: requires:
- build_emscripten - build_emscripten
- test_emscripten_external: - test_emscripten_external_zeppelin:
<<: *build_on_tags
requires:
- build_emscripten
- test_emscripten_external_gnosis:
<<: *build_on_tags <<: *build_on_tags
requires: requires:
- build_emscripten - build_emscripten
@ -431,7 +444,11 @@ workflows:
- develop - develop
jobs: jobs:
- build_emscripten: *build_on_tags - build_emscripten: *build_on_tags
- test_emscripten_external: - test_emscripten_external_zeppelin:
<<: *build_on_tags
requires:
- build_emscripten
- test_emscripten_external_gnosis:
<<: *build_on_tags <<: *build_on_tags
requires: requires:
- build_emscripten - build_emscripten