.gitlab-ci.yml 411 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/
9 10 11
  artifacts:
    paths:
      - dist/
Vincent Michel's avatar
Vincent Michel committed
12 13
  except:
    - master
14 15 16 17 18 19

deploy:
  stage: deploy
  dependencies:
    - build
  script:
20
    - mv -f dist/linux-64/*.tar.bz2 /conda/linux-64/
Vincent Michel's avatar
Vincent Michel committed
21 22
    - conda index /conda/linux-64/
  except:
23
    - master