From 7f322bcb50478877f629ea75f5cb3d7df785a79f Mon Sep 17 00:00:00 2001 From: Guillaume Ballet Date: Wed, 27 Feb 2019 15:51:09 +0100 Subject: [PATCH] travis: add a CI step to test hera integration --- .travis.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 33a4f89497..8ef2a291ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,6 +52,24 @@ matrix: script: - go run build/ci.go lint + # This builder runs the ewasm test suite + - os: linux + dist: trusty + go: 1.11.x + sudo: required + git: + submodules: false # avoid cloning ethereum/tests, we need a different version + script: + - sudo modprobe fuse + - sudo chmod 666 /dev/fuse + - sudo chown root:$USER /etc/fuse.conf + - git clone http://github.com/ewasm/tests.git tests/testdata + - wget https://github.com/ewasm/hera/releases/download/v0.2.3-alpha.0/hera-0.2.3-alpha.0-linux-x86_64.tar.gz + - mkdir hera + - tar xfz hera-0.2.3-alpha.0-linux-x86_64.tar.gz -C hera + - go run build/ci.go install + - go run build/ci.go test -coverage $TEST_PACKAGES -- --ewasm.vm="$PWD/hera/libhera.so" + # This builder does the Ubuntu PPA upload - if: type = push os: linux @@ -210,4 +228,4 @@ matrix: git: submodules: false # avoid cloning ethereum/tests script: - - go run build/ci.go purge -store gethstore/builds -days 14 + - go run build/ci.go purge -store gethstore/builds -days 14 \ No newline at end of file