Commit ba105476 authored by nono's avatar nono 💻
Browse files

Les tests sont maintenant exécutable

parent 08b8dde4
......@@ -29,30 +29,13 @@
group: www-data
mode: 0770
- name: Lancement du serveur de test
shell: make server-start
args:
chdir: /home/don/don
- name: Attendons 5 secondes que le serveur soit bien lancé...
wait_for:
# On triche un peu
timeout: 5
- name: Exécution de tests
shell: make test
shell: ( make server-start && make test ) || make server-stop
args:
chdir: /home/don/don
# become: true
# become_user: don
- name: Arrêt du serveur de test
shell: make server-stop
args:
chdir: /home/don/don
- name: Installation du site de don
shell: make install
args:
......
......@@ -7,6 +7,6 @@
- name: Installation des dépendances pour le site de don.
apt:
name: ['mariadb-server','default-mysql-client','gettext','git','bash','php','php-zip','php-dom','php-mbstring','make','php-curl','php-mysql','pdftk','texlive-latex-base','python-mysql']
name: ['mariadb-server','default-mysql-client','gettext','git','bash','php','php-zip','php-dom','php-mbstring','make','php-curl','php-mysql','pdftk','texlive-latex-base','python3-mysqldb']
state: present
update_cache: true
Supports Markdown
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