commit
9cff2b8b0d
|
@ -18,7 +18,9 @@ python:
|
|||
- "3.6"
|
||||
- "3.7"
|
||||
# don't rebuild pocketsphinx for every build
|
||||
cache: pocketsphinx-python
|
||||
cache:
|
||||
- pip
|
||||
- pocketsphinx-python
|
||||
# command to install dependencies
|
||||
install:
|
||||
- rm -rf ${TMPDIR}
|
||||
|
@ -31,8 +33,6 @@ install:
|
|||
script:
|
||||
- pycodestyle mycroft test
|
||||
- ./start-mycroft.sh unittest
|
||||
env:
|
||||
- IS_TRAVIS=true
|
||||
|
||||
after_success:
|
||||
coveralls
|
||||
|
|
|
@ -128,7 +128,7 @@ if found_exe tput ; then
|
|||
fi
|
||||
|
||||
# Run a setup wizard the very first time that guides the user through some decisions
|
||||
if [[ ! -f .dev_opts.json && -z $IS_TRAVIS ]] ; then
|
||||
if [[ ! -f .dev_opts.json && -z $CI ]] ; then
|
||||
echo "
|
||||
$CYAN Welcome to Mycroft! $RESET"
|
||||
sleep 0.5
|
||||
|
@ -298,7 +298,7 @@ function install_deps() {
|
|||
elif os_is_like debian || os_is debian || os_is_like ubuntu || os_is ubuntu || os_is linuxmint; then
|
||||
# Debian / Ubuntu / Mint
|
||||
echo "$GREEN Installing packages for Debian/Ubuntu/Mint...$RESET"
|
||||
if dpkg -V libjack-jackd2-0 > /dev/null 2>&1 && [[ -z $IS_TRAVIS ]] ; then
|
||||
if dpkg -V libjack-jackd2-0 > /dev/null 2>&1 && [[ -z ${CI} ]] ; then
|
||||
echo "
|
||||
We have detected that your computer has the libjack-jackd2-0 package installed.
|
||||
Mycroft requires a conflicting package, and will likely uninstall this package.
|
||||
|
|
|
@ -47,7 +47,7 @@ function change_ownership {
|
|||
}
|
||||
|
||||
|
||||
if [[ ${IS_TRAVIS} != true ]] ; then
|
||||
if [[ ${CI} != true ]] ; then
|
||||
if [ ! -d ${skills_dir} ] ; then
|
||||
echo "Create ${skills_dir}"
|
||||
$SUDO mkdir -p ${skills_dir}
|
||||
|
|
Loading…
Reference in New Issue