forked from smarkets/smk_python_sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (35 loc) · 1.11 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
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev"
- "nightly"
- "pypy"
- "pypy3"
matrix:
allow_failures:
- python: "3.5-dev"
- python: "nightly"
- python: "pypy3"
fast_finish: true
install:
- uname -a
- sudo apt-get update -qq
- sudo apt-get install -qq curl libncurses5 libc6 wget
# We need protobuf compiler 2.6+, 2.4 produces Python files incompatible
# with Python 3
#
- sudo sh -c "echo deb http://cz.archive.ubuntu.com/ubuntu vivid main >> /etc/apt/sources.list"
- sudo apt-get update -qq
- sudo apt-get install -qq protobuf-compiler libprotobuf-dev
- sudo wget https://raw.github.com/alavrik/piqi-binary/master/Linux-x86_64/piqi -O /usr/bin/piqi
- sudo chmod +x /usr/bin/piqi
- pip install --upgrade https://bitbucket.org/logilab/astroid/get/5ed6266cab78.zip
- if [[ ${TRAVIS_PYTHON_VERSION:0:1} == '3' ]];
then pip install -r requirements-dev-py3.txt;
else pip install -r requirements-dev-py2.txt;
fi;
- python setup.py build
script: make test && make check