.gitlab-ci.yml 494 Bytes
Newer Older
1
before_script:
Samuel Debionne's avatar
Samuel Debionne committed
2
  - source /opt/conda/bin/activate
3 4 5 6

build:
  stage: build
  script:
Vincent Michel's avatar
Vincent Michel committed
7
    - cd $CI_COMMIT_REF_NAME
8
    - conda build . --prefix-length=80 --output-folder=../dist/ --channel=http://bcu-ci.esrf.fr/stable
9 10 11
  artifacts:
    paths:
      - dist/
Vincent Michel's avatar
Vincent Michel committed
12 13
  except:
    - master
Matias Guijarro's avatar
Matias Guijarro committed
14 15
  tags:
    - builder
16 17 18 19 20 21

deploy:
  stage: deploy
  dependencies:
    - build
  script:
22
    - mv -f dist/linux-64/*.tar.bz2 /conda/linux-64/
Vincent Michel's avatar
Vincent Michel committed
23 24
    - conda index /conda/linux-64/
  except:
25
    - master
Matias Guijarro's avatar
Matias Guijarro committed
26 27
  tags:
    - builder