See if we can also test packaging with travis

This commit is contained in:
Marcus Holland-Moritz 2020-11-30 18:47:33 +01:00
parent 09f48200b6
commit 11d10c41a7

View File

@ -14,6 +14,7 @@ addons:
- bison - bison
- flex - flex
- ronn - ronn
- bzip2
- pkg-config - pkg-config
- binutils-dev - binutils-dev
- libboost-all-dev - libboost-all-dev
@ -43,4 +44,14 @@ before_script:
- cd build - cd build
- cmake -DWITH_TESTS=1 .. - cmake -DWITH_TESTS=1 ..
script: make -j$(nproc) && make test script:
- make -j$(nproc)
- make test
- make package_source
- tar xvf dwarfs-*.tar.bz2
- cd dwarfs-*
- mkdir build
- cd build
- cmake -DWITH_TESTS=1 ..
- make -j$(nproc)
- make test