.gitlab-ci.yml
changeset 355 ed28846be306
parent 354 c200ae872b06
child 356 b6e8b2791dec
equal deleted inserted replaced
354:c200ae872b06 355:ed28846be306
     1 image: python:3.5
     1 image: python:3.5
     2 
     2 
     3 cache:
     3 cache:
     4     key: PYRAMID_CACHE
     4     key: PYRAMID_CACHE
     5     paths:
     5     paths:
     6         - /var/local/env/pyams/eggs
     6         - /var/local/env/pyams/eggs/*
     7 
     7 
     8 before_script:
     8 before_script:
     9     - export http_proxy=http://172.17.0.1:3128/
     9     - export http_proxy=http://172.17.0.1:3128/
    10     - export https_proxy=http://172.17.0.1:3128/
    10     - export https_proxy=http://172.17.0.1:3128/
    11     - apt-get update
       
    12     - python3.5 bootstrap.py --buildout-version=2.12.0
    11     - python3.5 bootstrap.py --buildout-version=2.12.0
    13     - ./bin/buildout
    12     - ./bin/buildout
    14     - ls /var/local/env/pyams/eggs
       
    15 
    13 
    16 test:
    14 test 1:
       
    15     stage: test
    17     script:
    16     script:
    18         - ./bin/test
    17         - ./bin/test
    19 
    18 
    20 code_quality:
    19 test 2:
       
    20     stage: test
    21     image: docker:stable
    21     image: docker:stable
    22     variables:
    22     variables:
    23         DOCKER_DRIVER: overlay2
    23         DOCKER_DRIVER: overlay2
    24     allow_failure: true
    24     allow_failure: true
    25     services:
    25     services: