forked from openbci-archive/OpenBCI_Python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
35 lines (34 loc) · 746 Bytes
/
.travis.yml
File metadata and controls
35 lines (34 loc) · 746 Bytes
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
language: python
python:
- "2.7"
- "3.4"
# command to install dependencies
cache: pip
sudo: false
virtualenv:
system_site_packages: true
addons:
apt:
packages:
- libatlas-dev
- libatlas3gf-base
- libblas-dev
- libglib2.0-dev
- liblapack-dev
- python-matplotlib
- gfortran
- python-tk
install:
# Install project requirements
- pip install -r requirements.txt
# Install BluePy for Ganglion because Travis runs Linux
- pip install bluepy
# Install test and coverage requirements
- pip install codecov mock nose coverage pylint
# Run tests
script:
- python setup.py install
- nosetests --with-coverage --cover-package=openbci
after_success:
- codecov
- pylint openbci