forked from mvo5/unattended-upgrades
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
23 lines (23 loc) · 831 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# This provides integration into the travis-ci.org CI system. For a overview
# check http://about.travis-ci.org/docs/user/getting-started/
#
# Some notes:
# - language is "C" because the travis chroot for python installs a non-repo
# python3.3 from a PPA
sudo: required
dist: trusty
language: c
before_install:
- sudo apt-get update
- sudo apt-get build-dep unattended-upgrades
- sudo apt-get install -y dh-systemd fakeroot python3-mock
- which python3
- sudo apt-get install python3-pip
- sudo python3 -m pip install -U mypy coverage
# travis is "funny" it has a non-distro python3 that will not find
# python modules installed via apt-get
# note that tests are run during package build
script:
- dpkg-buildpackage -d -us -uc -rfakeroot
- sudo dpkg -i ../unattended-upgrades_*.deb
- sudo unattended-upgrades --help