|
|
@ -9,6 +9,7 @@ before_script:
|
|
|
|
stages:
|
|
|
|
stages:
|
|
|
|
- lint
|
|
|
|
- lint
|
|
|
|
- test
|
|
|
|
- test
|
|
|
|
|
|
|
|
- build
|
|
|
|
- upload
|
|
|
|
- upload
|
|
|
|
|
|
|
|
|
|
|
|
flake8:
|
|
|
|
flake8:
|
|
|
@ -77,9 +78,9 @@ test-1.1.3:
|
|
|
|
- PATH=$PATH:$PWD/tf_bin
|
|
|
|
- PATH=$PATH:$PWD/tf_bin
|
|
|
|
- pytest -v
|
|
|
|
- pytest -v
|
|
|
|
|
|
|
|
|
|
|
|
release:
|
|
|
|
build:
|
|
|
|
stage: upload
|
|
|
|
stage: build
|
|
|
|
rules:
|
|
|
|
rules:
|
|
|
|
- if: '$CI_COMMIT_TAG != null'
|
|
|
|
- if: '$CI_COMMIT_TAG == null'
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- python setup.py sdist bdist_wheel
|
|
|
|
- python setup.py sdist bdist_wheel
|