forked from ubuntu/ubuntu-make
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
20 lines (20 loc) · 852 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: python
sudo: required
dist: trusty
python:
- "3.4"
before_install:
- sudo add-apt-repository -y ppa:ubuntu-desktop/ubuntu-make
- sudo add-apt-repository -y ppa:ubuntu-desktop/ubuntu-make-builddeps
- sudo apt-get update
# install binary deps
- sudo apt-get install -y $(tests/daily_runs/get_binary_depends ubuntu-make)
# install tests requirements
- sudo tests/daily_runs/install_build_tests_depends
install: "" # we don't want to use virtualenv (see below)
# as we can't use a system virtualenv anymore in travis CI and that
# python-gobject isn't installable in pypy, we have to use system libraries
# instead for both uncompiled and compiled modules.
# The easiest way without hacking PYTHONPATH, PYTHONHOME is to use the system
# python version by prepending it in the PATH.
script: PATH="/usr/bin:$PATH" ./runtests pep8 small