Revize 01f081ed
Přidáno uživatelem Ondřej Fibich před téměř 7 roky(ů)
.travis.yml | ||
---|---|---|
- docker pull debian:stretch
|
||
|
||
script:
|
||
# Preparations
|
||
- VERSION="`/bin/sh ./freenetis-monitord.sh version`"
|
||
- DEB_PREFIX=deb_packages/freenetis-monitoring_${VERSION}
|
||
# Build and test on different platforms
|
||
- cd deb
|
||
# Squeeze (no install test)
|
||
- /bin/sh ./debianization.sh 0.1.0 squeeze
|
||
- lintian deb_packages/freenetis-monitoring_0.1.0+squeeze.deb
|
||
- /bin/sh ./debianization.sh "$VERSION" squeeze
|
||
- lintian ${DEB_PREFIX}+squeeze.deb
|
||
# Wheezy
|
||
- /bin/sh ./debianization.sh 0.1.0 wheezy
|
||
- lintian deb_packages/freenetis-monitoring_0.1.0+wheezy.deb
|
||
- docker run -v $TRAVIS_BUILD_DIR:/freenetis debian:wheezy /bin/sh /freenetis/test/install.sh /freenetis/deb/deb_packages/freenetis-monitoring_0.1.0+wheezy.deb
|
||
- /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
|
||
# Stretch
|
||
- /bin/sh ./debianization.sh 0.1.0 stretch
|
||
- lintian deb_packages/freenetis-monitoring_0.1.0+stretch.deb
|
||
- docker run -v $TRAVIS_BUILD_DIR:/freenetis debian:stretch /bin/sh /freenetis/test/install.sh /freenetis/deb/deb_packages/freenetis-monitoring_0.1.0+stretch.deb
|
||
- docker run -v $TRAVIS_BUILD_DIR:/freenetis debian:stretch /freenetis/test/install.sh /freenetis/deb/${DEB_PREFIX}+stretch.deb
|
Také k dispozici: Unified diff
Travis CI - build proper DEB package versions