Skip to content
Snippets Groups Projects
Commit 32cae111 authored by André Anjos's avatar André Anjos :speech_balloon: Committed by Daniel CARRON
Browse files

[ci] Simplify and annotate with comments

parent b2a2a38d
No related branches found
No related tags found
1 merge request!12Adds grad-cam support on classifiers
......@@ -13,12 +13,14 @@ variables:
documentation:
before_script:
# for opencv-python dependence
- apt-get update && apt-get install -y libgl1-mesa-glx > /dev/null
- export OMP_NUM_THREADS=1
- !reference [.snippets, doc-prepare]
tests:
before_script:
# for opencv-python dependence
- if [ "$TAG" == "docker" ]; then apt-get update && apt-get install -y libgl1-mesa-glx > /dev/null; fi
# for pytorch quirks on linux
- if [ "$TAG" == "docker" ]; then export OMP_NUM_THREADS=1; fi # Set the number of threads used to 1
- !reference [.snippets, test-prepare]
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