Commit 50cec74c authored by Daniel Axtens's avatar Daniel Axtens

travis: Test across a range of platforms

Travis CI now supports testing on arm64, ppc64le and s390x. It would
be nice to test on them.
Signed-off-by: default avatarDaniel Axtens <dja@axtens.net>
parent ae76c659
...@@ -2,6 +2,12 @@ language: ...@@ -2,6 +2,12 @@ language:
- c - c
- cpp - cpp
arch:
- amd64
- arm64
- ppc64le
- s390x
dist: bionic dist: bionic
addons: addons:
...@@ -30,4 +36,6 @@ script: ...@@ -30,4 +36,6 @@ script:
- ( mkdir build-cmake/bin && cd build-cmake/bin && cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=protobuf-c-bin ../ && make -j2 && make test && make install) - ( mkdir build-cmake/bin && cd build-cmake/bin && cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=protobuf-c-bin ../ && make -j2 && make test && make install)
after_success: after_success:
- cpp-coveralls --build-root . --exclude t/ --exclude /usr/include --exclude protobuf-$PROTOBUF_VERSION --exclude protoc-c - if [ $(uname -m) = "x86_64" ]; then
cpp-coveralls --build-root . --exclude t/ --exclude /usr/include --exclude protobuf-$PROTOBUF_VERSION --exclude protoc-c;
fi
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