-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (26 loc) · 1.03 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
language: python
install:
- uname -a
- lsb_release -a
- pypy --version
- sudo touch /etc/suid-debug
# Travis has a python3, but not the bin/python3 command
- sudo apt-get -y install libffi-dev btrfs-tools python3-minimal user-mode-linux
- which python3
# Those exports make sure pip invocations through tox, virtualenv, etc
# hit the cache. Travis is stupid to document manual addition of cli flags
# instead of exporting those vars (or shipping a pip.conf).
- export PIP_USE_MIRRORS=true
- export PIP_DOWNLOAD_CACHE=~/.cache/pip
- pip install cffi tox
- curl --compressed -O https://raw.github.com/g2p/kernels/master/linux.uml
- chmod +x linux.uml
- git clone https://github.com/g2p/vido.git
- export GETROOT="$PWD/vido/vido --kernel=./linux.uml --"
# tox has some advantages over travis runners:
# it tests installation from the sdist, which will
# report things like missing header files.
script:
# Travis has PyPy 1.9 which is too old (want a PPA to upgrade).
- time tox -e pypy || echo "Ignoring PyPy failures on Travis"
- time tox -e py33,py27,py32