diff --git a/.travis.yml b/.travis.yml index fdbd26d95..2dbea044b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,12 @@ addons: matrix: include: + - env: CI_TASK=contracts_check + os: linux + dist: bionic + language: node_js + node_js: + - "10.16.3" - env: CI_TASK=pyclient_check CI_USE_DOCKER=1 os: linux language: minimal diff --git a/scripts/ci b/scripts/ci index b8e933dc2..6750b1f3a 100755 --- a/scripts/ci +++ b/scripts/ci @@ -18,6 +18,14 @@ function format_check() { fi } +function contracts_check() { + pushd zeth-contracts + npm config set python python2.7 + npm install + npm run check + popd +} + function pyclient_check() { pushd pyClient python3.7 -m venv env