2016-05-20 23:14:03 +00:00
|
|
|
language: python
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update -qq
|
2017-08-01 20:38:48 +00:00
|
|
|
- sudo apt-get install -qq mpg123 portaudio19-dev libglib2.0-dev swig bison libtool autoconf libglib2.0-dev libicu-dev libfann-dev
|
2016-05-20 23:14:03 +00:00
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
# don't rebuild pocketsphinx for every build
|
|
|
|
cache: pocketsphinx-python
|
|
|
|
# command to install dependencies
|
|
|
|
install:
|
|
|
|
- VIRTUALENV_ROOT=${VIRTUAL_ENV} ./dev_setup.sh
|
|
|
|
- pip install -r requirements.txt
|
2017-08-02 19:51:17 +00:00
|
|
|
- pip install -r test-requirements.txt
|
2016-05-20 23:14:03 +00:00
|
|
|
# command to run tests
|
2016-05-20 22:15:53 +00:00
|
|
|
script:
|
|
|
|
- pep8 mycroft test
|
2017-06-18 06:52:13 +00:00
|
|
|
- nose2 -t ./ -s test/unittests/ --with-coverage --config=test/unittests/unittest.cfg
|
2017-04-03 20:33:28 +00:00
|
|
|
env:
|
2017-04-16 12:05:43 +00:00
|
|
|
- IS_TRAVIS=true
|
2017-04-22 15:35:37 +00:00
|
|
|
|
|
|
|
after_success:
|
2017-04-22 15:35:37 +00:00
|
|
|
coveralls
|