Skip to content
Snippets Groups Projects
Commit 3393e798 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Simplify ci scripts not to depend on snippets any longer

parent 110789b0
No related branches found
No related tags found
No related merge requests found
...@@ -27,9 +27,9 @@ variables: ...@@ -27,9 +27,9 @@ variables:
stage: build stage: build
before_script: before_script:
- git clean -ffdx - git clean -ffdx
- curl --silent "https://gitlab.idiap.ch/bob/bob.admin/raw/master/bootstrap-conda.sh" > bootstrap-conda.sh - curl --silent "https://gitlab.idiap.ch/bob/bob.admin/raw/master/ci/bootstrap.sh" > bootstrap.sh
- chmod 755 ./bootstrap-conda.sh - chmod 755 ./bootstrap.sh
- ./bootstrap-conda.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX} - ./bootstrap.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX}
variables: &build_variables variables: &build_variables
BOB_DOCUMENTATION_SERVER: "http://www.idiap.ch/software/bob/docs/latest/bob/%s/master/" BOB_DOCUMENTATION_SERVER: "http://www.idiap.ch/software/bob/docs/latest/bob/%s/master/"
script: script:
...@@ -41,7 +41,7 @@ variables: ...@@ -41,7 +41,7 @@ variables:
artifacts: artifacts:
expire_in: 1 day expire_in: 1 day
paths: paths:
- bootstrap-conda.sh - bootstrap.sh
- dist/ - dist/
- sphinx/ - sphinx/
...@@ -69,7 +69,7 @@ variables: ...@@ -69,7 +69,7 @@ variables:
.test_template: &test_job .test_template: &test_job
stage: test stage: test
before_script: before_script:
- ./bootstrap-conda.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX} - ./bootstrap.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX}
- source ${CONDA_FOLDER}/bin/activate ${CONDA_PREFIX} - source ${CONDA_FOLDER}/bin/activate ${CONDA_PREFIX}
- pip install --use-wheel --no-index --pre dist/*.whl - pip install --use-wheel --no-index --pre dist/*.whl
script: script:
...@@ -92,10 +92,10 @@ variables: ...@@ -92,10 +92,10 @@ variables:
- master - master
- tags - tags
before_script: before_script:
- curl --silent https://gitlab.idiap.ch/bob/bob/snippets/8/raw | tr -d '\r' > upload-wheel.sh - curl --silent https://gitlab.idiap.ch/bob/bob.admin/raw/master/ci/wheels.sh > wheels.sh
- chmod 755 upload-wheel.sh - chmod 755 wheels.sh
script: script:
- ./upload-wheel.sh - ./wheels.sh
# Template for (latest) documentation upload stage # Template for (latest) documentation upload stage
...@@ -105,10 +105,10 @@ variables: ...@@ -105,10 +105,10 @@ variables:
only: only:
- master - master
before_script: before_script:
- curl --silent https://gitlab.idiap.ch/bob/bob/snippets/9/raw | tr -d '\r' > upload-sphinx.sh - curl --silent https://gitlab.idiap.ch/bob/bob.admin/raw/master/ci/docs.sh > docs.sh
- chmod 755 upload-sphinx.sh - chmod 755 docs.sh
script: script:
- ./upload-sphinx.sh - ./docs.sh
# 2) Package specific instructions (you may tune this if needed) # 2) Package specific instructions (you may tune this if needed)
...@@ -268,4 +268,4 @@ wheels_macosx_35: ...@@ -268,4 +268,4 @@ wheels_macosx_35:
dependencies: dependencies:
- build_macosx_35 - build_macosx_35
tags: tags:
- conda-macosx - conda-macosx
\ No newline at end of file
...@@ -27,9 +27,9 @@ variables: ...@@ -27,9 +27,9 @@ variables:
stage: build stage: build
before_script: before_script:
- git clean -ffdx - git clean -ffdx
- curl --silent "https://gitlab.idiap.ch/bob/bob.admin/raw/master/bootstrap-conda.sh" > bootstrap-conda.sh - curl --silent "https://gitlab.idiap.ch/bob/bob.admin/raw/master/ci/bootstrap.sh" > bootstrap.sh
- chmod 755 ./bootstrap-conda.sh - chmod 755 ./bootstrap.sh
- ./bootstrap-conda.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX} - ./bootstrap.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX}
variables: &build_variables variables: &build_variables
BOB_DOCUMENTATION_SERVER: "http://www.idiap.ch/software/bob/docs/latest/bob/%s/master/" BOB_DOCUMENTATION_SERVER: "http://www.idiap.ch/software/bob/docs/latest/bob/%s/master/"
script: script:
...@@ -42,7 +42,7 @@ variables: ...@@ -42,7 +42,7 @@ variables:
artifacts: artifacts:
expire_in: 1 day expire_in: 1 day
paths: paths:
- bootstrap-conda.sh - bootstrap.sh
- dist/ - dist/
- sphinx/ - sphinx/
...@@ -70,7 +70,7 @@ variables: ...@@ -70,7 +70,7 @@ variables:
.test_template: &test_job .test_template: &test_job
stage: test stage: test
before_script: before_script:
- ./bootstrap-conda.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX} - ./bootstrap.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX}
- source ${CONDA_FOLDER}/bin/activate ${CONDA_PREFIX} - source ${CONDA_FOLDER}/bin/activate ${CONDA_PREFIX}
- pip install --use-wheel --no-index --pre dist/*.whl - pip install --use-wheel --no-index --pre dist/*.whl
script: script:
...@@ -93,10 +93,10 @@ variables: ...@@ -93,10 +93,10 @@ variables:
- master - master
- tags - tags
before_script: before_script:
- curl --silent https://gitlab.idiap.ch/bob/bob/snippets/8/raw | tr -d '\r' > upload-wheel.sh - curl --silent https://gitlab.idiap.ch/bob/bob.admin/raw/master/ci/docs.sh > docs.sh
- chmod 755 upload-wheel.sh - chmod 755 docs.sh
script: script:
- ./upload-wheel.sh - ./docs.sh
# Template for (latest) documentation upload stage # Template for (latest) documentation upload stage
...@@ -105,11 +105,6 @@ variables: ...@@ -105,11 +105,6 @@ variables:
stage: docs stage: docs
only: only:
- master - master
before_script:
- curl --silent https://gitlab.idiap.ch/bob/bob/snippets/9/raw | tr -d '\r' > upload-sphinx.sh
- chmod 755 upload-sphinx.sh
script:
- ./upload-sphinx.sh
# 2) Package specific instructions (you may tune this if needed) # 2) Package specific instructions (you may tune this if needed)
...@@ -247,4 +242,4 @@ test_macosx_35: ...@@ -247,4 +242,4 @@ test_macosx_35:
dependencies: dependencies:
- build_macosx_35 - build_macosx_35
tags: tags:
- conda-macosx - conda-macosx
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment