Skip to content

Commit 91747c6

Browse files
author
AJ Keller
authored
Merge pull request #96 from ikmckenz/fix-travis
Fix travis
2 parents 89f74e3 + 0b3c13d commit 91747c6

File tree

4 files changed

+11
-26
lines changed

4 files changed

+11
-26
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

.travis.yml

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: python
22
env:
33
- PYTHON=2.7
44
- PYTHON=3.4
5-
# command to install dependencies\
5+
# command to install dependencies
66
cache: pip
77
sudo: false
88
virtualenv:
@@ -13,30 +13,19 @@ addons:
1313
- libatlas-dev
1414
- libatlas3gf-base
1515
- libblas-dev
16+
- libglib2.0-dev
1617
- liblapack-dev
1718
- python-matplotlib
1819
- gfortran
1920
- python-tk
2021
install:
21-
- conda create -n testenv --yes pip python=$PYTHON
22-
- source activate testenv
23-
- conda install --yes --quiet numpy pyserial mock nose coverage
24-
- pip install codecov xmltodict bluepy
25-
- python setup.py build install
22+
# Install project requirements
23+
- pip install -r requirements.txt
24+
# Install test and coverage requirements
25+
- pip install codecov mock nose coverage
2626

27-
# Setup anaconda
28-
before_install:
29-
- wget -q http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
30-
- chmod +x miniconda.sh
31-
- ./miniconda.sh -b -p /home/travis/miniconda
32-
- export PATH=/home/travis/miniconda/bin:$PATH
33-
- conda update --yes --quiet conda
34-
# We need to create a (fake) display on Travis (allows Mayavi tests to run)
35-
- export DISPLAY=:99.0
36-
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render -noreset
37-
38-
39-
# command to run tests
40-
script: nosetests --with-coverage --cover-package=openbci
27+
# Run tests
28+
script:
29+
- nosetests --with-coverage --cover-package=openbci
4130
after_success:
4231
- codecov

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ For additional details on connecting your Cyton board visit: http://docs.openbci
120120

121121
### Ganglion Board
122122

123-
The Ganglion board relies on Bluetooth Low Energy connectivity (BLE). You should also retrieve the bluepy submodule for a more up-to-date version than the version `1.0.5` available at that time through `pip`. To do so, clone this repo with the `--recursive` flag then type `make` inside `bluepy/bluepy`. Note that you may need to run the script with root privileges to for some functionality, e.g. auto-detect MAC address.
123+
The Ganglion board relies on Bluetooth Low Energy connectivity (BLE).
124124

125-
You may also need to alter the settings of your bluetooth adapter in order to reduce latency and avoid packet drops -- e.g. if the terminal spams "Warning: Dropped 1 packets" several times a seconds, DO THAT.
125+
You may need to alter the settings of your bluetooth adapter in order to reduce latency and avoid packet drops -- e.g. if the terminal spams "Warning: Dropped 1 packets" several times a seconds, DO THAT.
126126

127127
On linux, assuming `hci0` is the name of your bluetooth adapter:
128128

bluepy

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)