mycroft-core/.travis.yml

30 lines
709 B
YAML
Raw Normal View History

2016-05-20 23:14:03 +00:00
language: python
dist: xenial
2016-05-20 23:14:03 +00:00
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq mpg123 portaudio19-dev libglib2.0-dev swig bison libtool autoconf libglib2.0-dev libicu-dev libfann-dev realpath
- sudo apt-get install -y gcc-4.8 g++-4.8
- export CC="gcc-4.8"
2016-05-20 23:14:03 +00:00
python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"
2016-05-20 23:14:03 +00:00
# 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
- 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:
2019-05-15 09:50:17 +00:00
- pycodestyle mycroft test
- ./start-mycroft.sh unittest
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