Projekt

Obecné

Profil

Stáhnout (1.21 KB) 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
8dc7da89 Ondřej Fibich
- docker pull debian:lenny
cd1a838b Ondřej Fibich
- docker pull debian:stretch
f3ab12d4 Ondřej Fibich
script:
01f081ed Ondřej Fibich
# Preparations
9ae5471a Ondřej Fibich
- VERSION="`/bin/bash ./freenetis-monitord.sh version`"
01f081ed Ondřej Fibich
- 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
8dc7da89 Ondřej Fibich
# Lenny
- /bin/sh ./debianization.sh "$VERSION" lenny
- lintian ${DEB_PREFIX}+lenny.deb
- docker run -v $TRAVIS_BUILD_DIR:/freenetis debian:lenny /freenetis/test/install.sh /freenetis/deb/${DEB_PREFIX}+lenny.deb
cd1a838b Ondřej Fibich
# Stretch
6ddbeda7 Ondřej Fibich
- /bin/sh ./debianization.sh "$VERSION" stretch
- lintian ${DEB_PREFIX}+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