Unverified Commit f4bd79be by Alexis Aoun Committed by Paul B

refactor: putting before script commmands in one script

parent c592ac32
......@@ -26,11 +26,7 @@ unit:django:
paths:
- "$CI_PROJECT_DIR/pip-cache"
before_script:
- pip install -U pip setuptools
- pip install -r requirements.txt
- cp outils/settings_example.py outils/settings.py
- cp outils/settings_secret_example.py outils/settings_secret.py
- cp outils/config.example.py outils/config.py
- ./unit_setup.sh
script:
- python manage.py test
#!/bin/sh
#setup de l'environnement de test
pip install -U pip setuptools
pip install -r requirements.txt
#setup des fichiers paramètres
cp outils/settings_example.py outils/settings.py
cp outils/settings_secret_example.py outils/settings_secret.py
cp outils/config.example.py outils/config.py
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment