Commit c23dffcf authored by Ted Gould's avatar Ted Gould
Browse files

Try to use the virtualenv better

parent eee5f893
Pipeline #20049017 passed with stage
in 4 minutes and 1 second
image: ubuntu:16.04
variables:
WORKON_HOME: "1"
WORKON_HOME: /mycroft-virtualenv/
before_script:
- mkdir -p ${WORKON_HOME}
- apt update -q
- apt install -qyy git python-pip
- git clone --depth=1 -b feature/skill-tester https://github.com/CarstenAgerskov/mycroft-core.git # https://github.com/MycroftAI/mycroft-core.git
- ( cd mycroft-core ; ./dev_setup.sh -sm --allow-root )
- pip install pyee requests inflection psutil future adapt-parser pyalsaaudio serial
cache:
paths:
- /root/.cache/pip/wheels/
- /var/cache/apt/archives/
test:
stage: test
script:
- 'export VIRTUALENV_ROOT=${HOME}/.virtualenvs/mycroft'
- 'export PYTHONPATH=${PYTHONPATH}:${PWD}/mycroft-core/'
- 'export VIRTUALENV_ROOT=${WORKON_HOME}/mycroft'
- 'source ${VIRTUALENV_ROOT}/bin/activate'
- cp mycroft-core/test/integrationtests/skills/skill_developers_testrunner.py .
- python skill_developers_testrunner.py
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment