This repository has been archived by the owner on Jun 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
52 lines (43 loc) · 1.69 KB
/
.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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
dist: trusty
language: python
python:
- "2.7"
before_install:
- |
if [[ -n "$PYENV_VERSION" ]]; then
# Reset back to stock once https://github.com/praekeltfoundation/travis-pyenv releases > 0.4
wget https://raw.githubusercontent.com/praekeltfoundation/travis-pyenv/67a858785097f7904a93b1355f6044a80f51ec6f/setup-pyenv.sh
source setup-pyenv.sh
fi
ln -s /usr/lib/python2.7/dist-packages/gi /opt/pyenv/versions/2.7.14/lib/python2.7/site-packages/
addons:
apt:
update: true
packages:
- python-gi
- gir1.2-gstreamer-1.0
- gir1.2-gst-plugins-base-1.0
cache:
- pip
- apt
env:
global:
- PYENV_VERSION=2.7.14
matrix:
- TOX_ENV=py27
- TOX_ENV=flake8
install:
- pip install tox tox-pyenv
script:
- tox -e $TOX_ENV
after_success:
- if [ $TOX_ENV == 'py27' ]; then pip install coveralls; coveralls; fi
deploy:
provider: pypi
user: palfrey
password:
secure: K3Mo/HqRK2ZtYfMoF1yQzHAtN1ckSqLsFtwRQ2hjdjabFT8/hIpCs1kHR6uyEGAdH6jGDO9XNu6l7021ZbV7dZfeegx+eDzuiyWEKktYJEAvs0eb7GB6mOtNrOVcWXLJRL0ASWMbAh1zPg/TjaEw+ETZp/KBu6i8QPZ0Gf/QiiWebcX7JKgAdhJusYHsz+9DhDuJ2iE4Ped+/eFpeY5Zgv8UmnYYOY+XUF0/UgbgnY+qWgUK8dlNCJzQjvCmJgbsYZX5p20Uj4wTSKGnnVOjkTGwWJgQ1ZS8OR6S2qreXhgrtPowgfe7wfy+LmtRGn1p2OUrBnOOJZOvfAmyGy9TNAiUeKqDefQQlMIZxl7W7zZGbU4eZcZnXrTqWPj5jSJfyMOnjbn23fQYZ8PFgCEiXWWhSLJml77TO83S4GcCbwvYwu+Em8SXNsx8H7Q6HZQC8CHaC27vlISVta7aiTTrqVAY5PZO36Nv+dWBWbM9ZFrgs4LPn0HikAvRj8DXHlKv9azgO9cw/pSCNtMwILUuxG/SIz4+HjDgkz0aOgcehu2TW5SQYE0Q9e6k4TCrubWvZeQRt+09Ob0s2dikRmrPxOxxaJKKJnKMdV7iS9nUECwKpHjybi2S9m9FPl9M7hnSWFFdU1pad+ZUGVEOUbfIiRDpXBUAUrxp+Ve4WfOGNtg=
on:
tags: true
distributions: sdist bdist_wheel
repo: palfrey/mopidy-tachikoma