.gitlab-ci.yml 587 Bytes
Newer Older
Ted Gould's avatar
Ted Gould committed
1
2
3
image: ubuntu:16.04

variables:
Ted Gould's avatar
Ted Gould committed
4
  WORKON_HOME: /mycroft-virtualenv/
Ted Gould's avatar
Ted Gould committed
5
6

before_script:
Ted Gould's avatar
Ted Gould committed
7
  - mkdir -p ${WORKON_HOME}
Ted Gould's avatar
Ted Gould committed
8
  - apt update -q
Ted Gould's avatar
Ted Gould committed
9
  - apt install -qyy git python-pip
Ted Gould's avatar
Ted Gould committed
10
  - git clone --depth=1 -b feature/carstens-skill-tester https://github.com/MycroftAI/mycroft-core.git
Ted Gould's avatar
Ted Gould committed
11
  - ( cd mycroft-core ; ./dev_setup.sh -sm --allow-root )
Ted Gould's avatar
Ted Gould committed
12

Ted Gould's avatar
Ted Gould committed
13
14
15
test:
  stage: test
  script:
Ted Gould's avatar
Ted Gould committed
16
17
    - 'export VIRTUALENV_ROOT=${WORKON_HOME}/mycroft'
    - 'source ${VIRTUALENV_ROOT}/bin/activate'
Ted Gould's avatar
Ted Gould committed
18
19
    - cp mycroft-core/test/integrationtests/skills/skill_developers_testrunner.py .
    - python skill_developers_testrunner.py