forked from google/openhtf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 1.45 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
language: python
matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: 3.6
env: TOXENV=py36
addons:
apt:
packages:
- python3
- python3-pip
- swig
- libusb-1.0-0-dev
- libprotobuf-dev
cache:
pip: true
apt: true
directories:
- $HOME/.cache/pip
install:
- pip install tox coveralls
- pip install -e .
- wget https://github.com/protocolbuffers/protobuf/releases/download/v3.6.1/protoc-3.6.1-linux-x86_64.zip
- unzip protoc-3.6.1-linux-x86_64.zip
- sudo cp bin/protoc /usr/bin/protoc && sudo chmod 777 /usr/bin/protoc
- sudo cp -r include/. /usr/include && sudo chmod -R +r /usr/include/google
- protoc --version
script: tox
after_success:
- coveralls
deploy:
provider: pypi
user: jettisonjoe
on:
tags: true
password:
secure: zFZNHtiht6OhCrbWMGGb+yBMmTJLKtAE5RiDl60m58Jx4t/UhMtHoC0+jtZ1hq2aeprfvw60zAIhB3HbLvb+E4Dcf9U8hEGDxJhMSMwGkXvFtrdAqce+I1YcNTXwCUApoJfE8Px1IZMRY9e1+u7r+cIWVggc3X97bWGGo+68A/ZkFxyGv75n8HRfCyHxK2hG/CGJWWmiK+fpDD68I3GbTyL1V5cRAkXNr4O1cSBDzeo0qOKzLZKAYR8M4SEQCz0Qlyatksa/p76ijF0tt5Q+kdVRANwlIltn57l43xwgL6ViOLs0rP19hlDITj5g6FZsNlRPPNxD5mUMuDEZefdcfm7sfvYHlU7hi38bxxWHXIbhUg6147V1+1oVu+dcxpv6/LgbYKSF2rxmkB6pZLlvOKK/U8Ni+3cN5KO1IumBdtQPDvSVUnsEB6GiVazm5xdR5fHvrIJaIHeAb0CBVlU1mnpHU0qUhAp3NcVHQtDM+ykcKvxjtNptRLp3o2AfTEPQmOHdG5KX21L69vagUWrwHf9mjxyQn6XfuzChj5W+fOcTlvHENK1Z8+KZg3a9sIhTFCPBxB4eX4TlUqS9HIndZFuiiDMszysJMZZ6wDDsUvlpdgHpSJlAmCoDd7cwjDWrTD//O3jRyYTbZTSFHpDRI/McnWJ7v8zYP0rlOQRqTb0=