Commit 9c46e087 authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov

travis: build tests in a separate job

Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent fe45e362
...@@ -4,13 +4,13 @@ dist: trusty ...@@ -4,13 +4,13 @@ dist: trusty
services: services:
- docker - docker
env: env:
- TR_ARCH=local
- TR_ARCH=x86_64 - TR_ARCH=x86_64
- TR_ARCH=armv7hf - TR_ARCH=armv7hf
- TR_ARCH=aarch64 - TR_ARCH=aarch64
- TR_ARCH=ppc64le - TR_ARCH=ppc64le
script: script:
- sudo make -C scripts/build $TR_ARCH - sudo make -C scripts/travis $TR_ARCH
- sudo ./scripts/travis-tests $TR_ARCH
after_success: after_success:
- sudo apt-get install -qq -y lcov - sudo apt-get install -qq -y lcov
- gem install coveralls-lcov - gem install coveralls-lcov
......
local:
./travis-tests
%:
$(MAKE) -C ../build $@
#!/bin/sh #!/bin/sh
set -x -e set -x -e
test "$1" = "x86_64" || exit 0 cd ../../
apt-get update -qq apt-get update -qq
apt-get install -qq protobuf-c-compiler libprotobuf-c0-dev libaio-dev libprotobuf-dev protobuf-compiler python-ipaddr libcap-dev libnl-3-dev apt-get install -qq protobuf-c-compiler libprotobuf-c0-dev libaio-dev libprotobuf-dev protobuf-compiler python-ipaddr libcap-dev libnl-3-dev
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment