Only build mimic once during travis tests
Save some CPU cycles by only building mimic once. The build shouldn't
differ vastly (or at all) between runs.
@@ -26,7 +26,9 @@ install:
- rm -rf ${TMPDIR}
- mkdir ${TMPDIR}
- echo ${TMPDIR}
- - VIRTUALENV_ROOT=${VIRTUAL_ENV} ./dev_setup.sh
+ - if [[ $TRAVIS_PYTHON_VERSION == 3.9 ]]; then VIRTUALENV_ROOT=${VIRTUAL_ENV} ./dev_setup.sh; fi
+# Skip mimic build for other versions
+ - if [[ $TRAVIS_PYTHON_VERSION != 3.9 ]]; then VIRTUALENV_ROOT=${VIRTUAL_ENV} ./dev_setup.sh -sm; fi
# command to run tests
script:
- pycodestyle mycroft test
