Skip to content
Snippets Groups Projects
Commit 10dda9d387ae authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:ambulance: Avoid warning in tests, :rocket: only push documentation in branches

parent 85f196304c68
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
before_script:
- pip3 install $CI_PROJECT_DIR --disable-pip-version-check --no-cache-dir
script:
- sudo -u odoo env ODOO_TYPE=odoo11 $CI_PROJECT_DIR/start --db_host=db -d test_setup --max-cron-threads=0 --without-demo=all --data-dir /var/lib/odoo --init base &
- sudo -u odoo env ODOO_TYPE=odoo11 $CI_PROJECT_DIR/start --db_host=db -d test_setup --max-cron-threads=0 --without-demo=all --data-dir /var/lib/odoo --init base --addons-path "" &
# wait for odoo to install the modules
- sleep 35
# then test the setup files
......@@ -33,4 +33,6 @@
docker:
stage: build
image: docker.orus.io/cc/docker
variables:
DOCKER_IMAGE: xcgd/odoo_scripts
script:
......@@ -36,5 +38,4 @@
script:
- export DOCKER_IMAGE=xcgd/odoo_scripts CUSTOM_TAG=latest
- docker-build
build-documentation:
......@@ -50,7 +51,7 @@
- pip3 install -r requirements
- for language in en fr ; do LANGUAGE=$language BUILDDIRSUFFIX=/$(hg identify --debug --branch) make html ; done
push:
push-documentation:
stage: push
image:
name: minio/mc:RELEASE.2020-01-13T22-49-03Z
......@@ -58,3 +59,5 @@
script:
- mc config host add s3 $S3_ENDPOINT_URL $S3_KEY $S3_SECRET --api S3v2
- mc cp --recursive doc/_build/html/ s3/xcg-io-doc/odoo_scripts
only:
- branch/*
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