Separate out testing from build script.
This commit is contained in:
parent
664b4159ea
commit
c7dc9d6e89
@ -32,6 +32,9 @@ install:
|
|||||||
- if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$BUILD_DESTINATION" == "snapcraft" ]; then travis/snapcraft-install.sh ; fi
|
- if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$BUILD_DESTINATION" == "snapcraft" ]; then travis/snapcraft-install.sh ; fi
|
||||||
- if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$BUILD_DESTINATION" == "appimage" ]; then sudo apt-get install libxkbcommon-x11-0 ; fi
|
- if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$BUILD_DESTINATION" == "appimage" ]; then sudo apt-get install libxkbcommon-x11-0 ; fi
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$BUILD_DESTINATION" == "deb" ]; then travis/deb-installation-test.sh ; fi
|
||||||
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- ls -al
|
- ls -al
|
||||||
- export VER="$(cat syncplay/__init__.py | awk '/version/ {gsub("\047", "", $3); print $NF}')"
|
- export VER="$(cat syncplay/__init__.py | awk '/version/ {gsub("\047", "", $3); print $NF}')"
|
||||||
|
|||||||
5
travis/deb-installation-test.sh
Normal file
5
travis/deb-installation-test.sh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
sudo apt install /tmp/syncplay.deb -y
|
||||||
|
syncplay --no-gui
|
||||||
|
sudo apt remove syncplay
|
||||||
@ -25,6 +25,3 @@ chmod 555 /tmp/syncplay/DEBIAN/prerm
|
|||||||
make install DESTDIR=/tmp/syncplay
|
make install DESTDIR=/tmp/syncplay
|
||||||
dpkg -b /tmp/syncplay/
|
dpkg -b /tmp/syncplay/
|
||||||
|
|
||||||
sudo apt install /tmp/syncplay.deb -y
|
|
||||||
syncplay --no-gui
|
|
||||||
sudo apt remove syncplay
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user