Skip to content

Commit

Permalink
CI/travis/make_linux: install deb package as final test
Browse files Browse the repository at this point in the history
The fact that the `deb` packages build doesn't mean they install, so as a
final test, use `dpkg` to install them
`dpkg` is preferred because `apt` may choose to install `libiio` from the
apt sources if it prefers it over local `deb` files.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
  • Loading branch information
commodo committed Oct 3, 2018
1 parent cfe093a commit ed6d860
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CI/travis/make_linux
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ handle_default() {
cd $TRAVIS_BUILD_DIR/build
cmake -DENABLE_PACKAGING=ON -DDEB_DETECT_DEPENDENCIES=ON ..
make && make package
sudo dpkg -i libiio*.deb
}

handle_centos() {
Expand Down

0 comments on commit ed6d860

Please sign in to comment.