.gitlab-ci.yml 436 Bytes
Newer Older
Raul Sirel's avatar
Raul Sirel committed
1
2
3
image: continuumio/miniconda3:latest

stages:
Raul Sirel's avatar
..    
Raul Sirel committed
4
#  - test
Raul Sirel's avatar
Raul Sirel committed
5
6
  - build

Raul Sirel's avatar
..    
Raul Sirel committed
7
8
9
10
11
12
13
14
#Test:
#  before_script:
#    - conda env create -f environment.yaml && source activate texta-mlp
#  stage: test
#  tags:
#    - ci-test
#  script:
#    - python -m pytest -v tests
Raul Sirel's avatar
Raul Sirel committed
15
16

Build:
Raul Sirel's avatar
Raul Sirel committed
17
  before_script:
Raul Sirel's avatar
...    
Raul Sirel committed
18
    - pip install setuptools wheel twine
Raul Sirel's avatar
Raul Sirel committed
19
20
21
22
23
24
  stage: build
  tags:
    - ci-test
  script:
    - python setup.py sdist
    - twine upload dist/*
Raul Sirel's avatar
Raul Sirel committed
25
26
#  only:
#    - tags