forked from mvo5/unattended-upgrades
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
20 lines (20 loc) · 832 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 install -y python python3-distutils-extra python3-setuptools python-dev python3-dev python-coverage pep8 pyflakes python-apt python3-apt python-mock python3-mock lsb-release dh-systemd
- which python3
- sudo apt-get install python3-pip
- sudo python3 -m pip install -U mypy
# travis is "funny" it has a non-distro python3 that will not find
# python modules installed via apt-get
script:
- (cd test ; PATH=/usr/bin:/usr/local/bin:$PATH make)
- sudo unattended-upgrades -v