mycroft-core/.travis.yml

38 lines
836 B
YAML
Raw Normal View History

branches:
only:
- master
- dev
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"
- export TMPDIR="/tmp/${TRAVIS_PYTHON_VERSION}"
2016-05-20 23:14:03 +00:00
python:
- "3.5"
- "3.6"
- "3.7"
2016-05-20 23:14:03 +00:00
# don't rebuild pocketsphinx for every build
2019-08-09 20:59:05 +00:00
cache:
- pip
- pocketsphinx-python
2016-05-20 23:14:03 +00:00
# command to install dependencies
install:
- rm -rf ${TMPDIR}
- mkdir ${TMPDIR}
- echo ${TMPDIR}
2016-05-20 23:14:03 +00:00
- 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
2017-04-22 15:35:37 +00:00
after_success:
2017-04-22 15:35:37 +00:00
coveralls