GitLab will be upgraded on June 23rd evening. During the upgrade the service will be unavailable, sorry for the inconvenience.

.gitlab-ci.yml 514 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
  tags:
Benoit Formet's avatar
Benoit Formet committed
15
    - conda
16
    - linux
17 18 19 20 21 22

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