.gitlab-ci.yml 422 Bytes
Newer Older
1
2
3
stages:
  - test
  - quality
Emmanuel Milou's avatar
Emmanuel Milou committed
4
health-check:
5
6
  image: python:2.7
  stage: test
Emmanuel Milou's avatar
Emmanuel Milou committed
7
  script:
8
    - pip install fabric
Emmanuel Milou's avatar
Emmanuel Milou committed
9
10
    - fab --version
    - fab -f . --list-format=nested --list
11
12
13
14
15
  tags:
    - docker-images
sonarqube:
  image: ntdt/sonar-scanner:2.7
  stage: quality
Emmanuel Milou's avatar
Emmanuel Milou committed
16
  script:
17
18
19
    - cd $CI_PROJECT_DIR && /opt/sonar-scanner/bin/sonar-scanner -Dsonar.host.url=$SONAR_HOST -Dsonar.login=$SONAR_TOKEN
  tags:
    - docker-images