Skip to content
Snippets Groups Projects
.gitlab-ci.yml 593 B
Newer Older
  • Learn to ignore specific revisions
  • ale's avatar
    ale committed
    
    stages:
      - test
      - build_src
      - build_pkg
      - upload
    
    test:
      stage: test
      image: "ai/test:go"
      script: "go-test-runner ."
    
    build:src:
      stage: build_src
      image: "ai/build:stretch"
      script: "build-dsc"
      artifacts:
        paths:
          - build-deb/
      only:
        - master
    
    build:pkg:
      stage: build_pkg
      image: "ai/build:stretch"
      script: "build-deb"
      dependencies:
        - build:src
      artifacts:
        paths:
          - output-deb/
      only:
        - master
    
    upload:pkg:
      stage: upload
      image: "ai/pkg:base"
    
    ale's avatar
    ale committed
      script: "upload-packages -r ai3"
    
    ale's avatar
    ale committed
      dependencies:
        - build:pkg
      only:
        - master