From 1d82e0a71f98d9312b4dc0885ff3622781e25ce4 Mon Sep 17 00:00:00 2001 From: nosamad Date: Wed, 20 Mar 2019 00:59:03 +0100 Subject: [PATCH] changes to use docker multiarch build --- .travis.yml | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/.travis.yml b/.travis.yml index 60b1666..05a8884 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,18 @@ -language: cpp - -compiler: - - gcc - - clang - +services: +- docker addons: - apt: - update: true - packages: - - valgrind - + apt: + update: true before_install: - - ./install_deps.sh - - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib - - -before_script: - - mkdir .build - - cd .build - - cmake -DCMAKE_BUILD_TYPE=Debug .. - +- sudo apt-get install -y curl openssl ca-certificates +- sudo apt-get install -y make +- sudo apt-get install -y qemu-user-static +env: + global: + - MAKEFLAGS="-j 2" + matrix: + - MARCH=amd64 + - MARCH=arm32v7 script: - - make - - valgrind ./alltests +- make MARCH=$MARCH +- make check MARCH=$MARCH