.gitlab-ci.yml
changeset 359 14eaa9024bb4
parent 358 d33de925e83d
child 360 9ab2495cb022
equal deleted inserted replaced
358:d33de925e83d 359:14eaa9024bb4
     1 image: python:3.5
     1 image: python:3.5
     2 
       
     3 cache:
       
     4     key: PYRAMID_CACHE
       
     5     paths:
       
     6         - /var/local/env/pyams/eggs/*
       
     7 
     2 
     8 stages:
     3 stages:
     9     - build
     4     - build
    10     - test
       
    11     - quality
     5     - quality
    12 
     6 
    13 before_script:
     7 before_script:
    14     - export http_proxy=http://172.17.0.1:3128/
     8     - export http_proxy=http://172.17.0.1:3128/
    15     - export https_proxy=http://172.17.0.1:3128/
     9     - export https_proxy=http://172.17.0.1:3128/
    16     - python3.5 bootstrap.py --buildout-version=2.12.0
       
    17 
    10 
    18 build:
    11 test:
    19     stage: build
    12     stage: build
    20     script:
    13     script:
       
    14         - python3.5 bootstrap.py --buildout-version=2.12.0
    21         - ./bin/buildout
    15         - ./bin/buildout
    22     artifacts:
       
    23         paths:
       
    24             - ./bin/
       
    25 
       
    26 test:
       
    27     stage: test
       
    28     script:
       
    29         - ./bin/test
    16         - ./bin/test
    30 
    17 
    31 quality:
    18 quality:
    32     stage: quality
    19     stage: quality
    33     image: docker:stable
    20     image: docker:stable