Revize cd1a838b
Přidáno uživatelem Ondřej Fibich před téměř 7 roky(ů)
.travis.yml | ||
---|---|---|
sudo: false
|
||
language: generic
|
||
|
||
#services:
|
||
# - docker
|
||
services:
|
||
- docker
|
||
|
||
addons:
|
||
apt:
|
||
... | ... | |
- fakeroot
|
||
- lintian
|
||
|
||
#before_install:
|
||
# - sudo apt-get install fakeroot lintian
|
||
# - ./debianization.sh 0.1.0 stretch
|
||
# - docker pull debian:stretch
|
||
# - docker run debian:stretch /bin/sh -c "apt-get install fakeroot"
|
||
before_install:
|
||
- docker pull debian:squeeze
|
||
- docker pull debian:wheezy
|
||
- docker pull debian:stretch
|
||
|
||
script:
|
||
- cd deb
|
||
# Squeeze
|
||
- /bin/sh ./debianization.sh 0.1.0 squeeze
|
||
- lintian deb_packages/freenetis-monitoring_0.1.0+squeeze.deb
|
||
- docker run debian:squeeze /bin/sh -c "pwd; ls -l"
|
||
# Wheezy
|
||
- /bin/sh ./debianization.sh 0.1.0 wheezy
|
||
- lintian deb_packages/freenetis-monitoring_0.1.0+wheezy.deb
|
||
# Stretch
|
||
- /bin/sh ./debianization.sh 0.1.0 stretch
|
||
- lintian deb_packages/freenetis-monitoring_0.1.0+stretch.deb
|
Také k dispozici: Unified diff
Travis CI tries do start docker in script section