forked from hbldh/pymetawear
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (52 loc) · 1012 Bytes
/
.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
language: python
sudo: required
dist: trusty
python:
- 2.7
- 3.4
- 3.5
- 3.6
- "nightly"
matrix:
allow_failures:
- python: 3.4
- python: 3.6
- python: "nightly"
branches:
only:
- master
- develop
addons:
apt:
packages:
- cmake
- build-essential
- libglib2.0-dev
- bluez
- bluetooth
- python-dev
- python3-dev
- libbluetooth-dev
- libboost-python-dev
- libboost-thread-dev
before_install:
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
install:
- "pip install pytest"
- "pip install pytest-cov"
- "pip install python-coveralls"
- "pip install Sphinx sphinx_rtd_theme"
- "pip install -e ."
script: py.test tests/ --cov pymetawear --cov-report term-missing
after_success:
- coveralls
env:
global:
- GH_REF: github.com/hbldh/pymetawear.git
deploy:
provider: script
skip_cleanup: true
script: bash ./deploy_gh_pages.sh
on:
branch: master
python: 2.7