diff mbox

[v2,3/3] travis: Enable litmus tests

Message ID 20160820162846.13501-4-bobby.prani@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Pranith Kumar Aug. 20, 2016, 4:28 p.m. UTC
Enable running the litmus tests on travis.

Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
---
 .travis.yml | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox

Patch

diff --git a/.travis.yml b/.travis.yml
index f30b10e..f670c71 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -97,5 +97,13 @@  matrix:
       before_install:
         - sudo apt-get update -qq
         - sudo apt-get build-dep -qq qemu
+        - sudo apt-get install gcc-aarch64-linux-gnu
         - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
         - git submodule update --init --recursive
+      after_success:
+        - cd tests/tcg/i386/litmus
+        - export QEMU=../../../../x86_64-linux-user/qemu-x86_64
+        - make tests
+        - cd ../../aarch64/litmus
+        - export QEMU=../../../../aarch64-linux-user/qemu-aarch64
+        - make tests