diff --git a/.travis.yml b/.travis.yml index 8174277dc7..8a42b22b38 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/dev_setup.sh b/dev_setup.sh index 91721f5cab..cf81ed25f0 100755 --- a/dev_setup.sh +++ b/dev_setup.sh @@ -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. diff --git a/scripts/prepare-msm.sh b/scripts/prepare-msm.sh index 73f34aee8b..a7f948edb9 100755 --- a/scripts/prepare-msm.sh +++ b/scripts/prepare-msm.sh @@ -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}