syncplay/travis/deb-installation-test.sh
Daniel Wróbel d4ac455624
Add deb package to Travis CI (#318)
* Script for building deb package on Travis

* Adding deb build to Travis CI configuration

* Remove superflous install step from deb build

* Add permissions to execute build script for deb package.

* Update deb build environment to use Ubuntu 18.04

* Install the deb package as part of build process

* Fix deb location for installation test

* Remove installation test

Latest Ubuntu available on Travis doesn't meet minimum required version of pyside2.

* Fix pyside dependencies to make them more accurate.

* Switch deb build to Ubuntu 20.04

* Add installation and runtime test.

* Fix location of deb package for upload to bintray.

* Separate out testing from build script.

* Make the script output visible in Travis CI logs.

* Fix permissons for test script.
2020-06-01 21:41:53 +01:00

9 lines
107 B
Bash
Executable File

#!/bin/sh
set -x
set -e
sudo apt install /tmp/syncplay.deb -y
syncplay --no-gui
sudo apt remove syncplay