Ver código fonte

run tests also on 32 bit binaries

Sten 10 anos atrás
pai
commit
7a6fcad6de
1 arquivos alterados com 5 adições e 1 exclusões
  1. 5 1
      .travis.yml

+ 5 - 1
.travis.yml

@@ -45,7 +45,11 @@ script:
    - make
    - echo "Generate documentation"
    - make doc
-   - echo "Debug build and unit tests"
+   - echo "Debug build and unit tests (32 bit)"
+   - make clean
+   - cmake -DCMAKE_C_FLAGS=-m32 -DCMAKE_BUILD_TYPE=Debug -DENABLE_UNIT_TESTS=ON -DENABLE_COVERAGE=ON ..
+   - make && make test
+   - echo "Debug build and unit tests (64 bit)"
    - make clean
    - cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_UNIT_TESTS=ON -DENABLE_COVERAGE=ON .. 
    - make && make test