Projekt

Obecné

Profil

Stáhnout (1013 Bajtů) Statistiky
| Větev: | Tag: | Revize:
24e1f2cd Ondřej Fibich
sudo: false
f3ab12d4 Ondřej Fibich
language: generic

cd1a838b Ondřej Fibich
services:
- docker
24e1f2cd Ondřej Fibich
addons:
apt:
packages:
- fakeroot
- lintian

cd1a838b Ondřej Fibich
before_install:
- docker pull debian:squeeze
- docker pull debian:wheezy
- docker pull debian:stretch
f3ab12d4 Ondřej Fibich
script:
01f081ed Ondřej Fibich
# Preparations
- VERSION="`/bin/sh ./freenetis-monitord.sh version`"
- DEB_PREFIX=deb_packages/freenetis-monitoring_${VERSION}
# Build and test on different platforms
aebb8736 Ondřej Fibich
- cd deb
337d1648 Ondřej Fibich
# Squeeze (no install test)
01f081ed Ondřej Fibich
- /bin/sh ./debianization.sh "$VERSION" squeeze
- lintian ${DEB_PREFIX}+squeeze.deb
cd1a838b Ondřej Fibich
# Wheezy
01f081ed Ondřej Fibich
- /bin/sh ./debianization.sh "$VERSION" wheezy
- lintian ${DEB_PREFIX}+wheezy.deb
- docker run -v $TRAVIS_BUILD_DIR:/freenetis debian:wheezy /freenetis/test/install.sh /freenetis/deb/${DEB_PREFIX}+wheezy.deb
cd1a838b Ondřej Fibich
# Stretch
aebb8736 Ondřej Fibich
- /bin/sh ./debianization.sh 0.1.0 stretch
- lintian deb_packages/freenetis-monitoring_0.1.0+stretch.deb
01f081ed Ondřej Fibich
- docker run -v $TRAVIS_BUILD_DIR:/freenetis debian:stretch /freenetis/test/install.sh /freenetis/deb/${DEB_PREFIX}+stretch.deb