Revize 337d1648
Přidáno uživatelem Ondřej Fibich před asi 7 roky(ů)
.travis.yml | ||
---|---|---|
|
||
script:
|
||
- cd deb
|
||
# Squeeze
|
||
# Squeeze (no install test)
|
||
- /bin/sh ./debianization.sh 0.1.0 squeeze
|
||
- lintian deb_packages/freenetis-monitoring_0.1.0+squeeze.deb
|
||
- docker run -v $TRAVIS_BUILD_DIR:/freenetis debian:squeeze /bin/sh /freenetis/test/install.sh /freenetis/deb/deb_packages/freenetis-monitoring_0.1.0+squeeze.deb
|
||
# Wheezy
|
||
- /bin/sh ./debianization.sh 0.1.0 wheezy
|
||
- lintian deb_packages/freenetis-monitoring_0.1.0+wheezy.deb
|
test/install.sh | ||
---|---|---|
|
||
echo "Install deb package"
|
||
apt-get update -q
|
||
apt install -q -y "$DEB"
|
||
if [ apt --version ]; then
|
||
apt install -q -y "$DEB"
|
||
else
|
||
dpkg -i "$DEB"
|
||
apt install -q -y -f
|
||
fi
|
||
|
||
echo "Daemon test"
|
||
$UNIT version
|
Také k dispozici: Unified diff
Test install disable for Squeeze (repos not exists). And support for installation without apt