Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexis AOUN
third-party
Commits
f4bd79be
Unverified
Commit
f4bd79be
authored
May 31, 2021
by
Alexis Aoun
Committed by
Paul B
Jun 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: putting before script commmands in one script
parent
c592ac32
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
.gitlab-ci.yml
.gitlab-ci.yml
+1
-5
unit_setup.sh
unit_setup.sh
+11
-0
No files found.
.gitlab-ci.yml
View file @
f4bd79be
...
...
@@ -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
unit_setup.sh
0 → 100755
View file @
f4bd79be
#!/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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment