.gitlab-ci.yml 480 Bytes
Newer Older
okhin's avatar
okhin committed
1
before_script:
okhin's avatar
okhin committed
2 3 4
  - '[[ -d /srv/piphone/ ]] || mkdir -p /srv/piphone/'
  - 'which git || (apt-get update -yq && apt-get install git -yqq)'
  - 'which virtualenv || (apt-get update -yq && apt-get install python3-virtualenv -yqq)'
okhin's avatar
okhin committed
5 6
stages:
  - install
okhin's avatar
okhin committed
7 8 9

job install:
  script:
okhin's avatar
okhin committed
10
    - chmod a+x ci/install.sh
okhin's avatar
okhin committed
11 12
    - export CI_PROJECT_NAME
    - export CI_BUILD_REPO
okhin's avatar
Lalalal  
okhin committed
13
    - export
okhin's avatar
okhin committed
14
    - ./ci/install.sh
okhin's avatar
okhin committed
15
    - deactivate
okhin's avatar
okhin committed
16
  stage: install
okhin's avatar
okhin committed
17 18 19 20
  tags:
    - piphone
    - ssh
  only:
okhin's avatar
okhin committed
21
    - master