freenetis-monitoring-github/.travis.yml @ 36d16c7a
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
|
|||
ddf2bf07 | Ondřej Fibich | - docker pull debian:jessie
|
|
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
|
|||
36d16c7a | Ondřej Fibich | - docker run -v $TRAVIS_BUILD_DIR:/freenetis debian:wheezy /freenetis/test/install.sh /freenetis/deb/${DEB_PREFIX}+wheezy.deb old
|
|
ddf2bf07 | Ondřej Fibich | # Jessie
|
|
- /bin/sh ./debianization.sh "$VERSION" jessie
|
|||
- lintian ${DEB_PREFIX}+jessie.deb
|
|||
36d16c7a | Ondřej Fibich | - docker run -v $TRAVIS_BUILD_DIR:/freenetis debian:jessie /freenetis/test/install.sh /freenetis/deb/${DEB_PREFIX}+jessie.deb old
|
|
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
|