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
chdir: /home/don/don
- name: Attendons 5 secondes que le serveur soit bien lancé...
# On triche un peu
timeout: 5
- name: Exécution de tests
shell: make test
shell: ( make server-start && make test ) || make server-stop
chdir: /home/don/don
# become: true
# become_user: don
- name: Arrêt du serveur de test
shell: make server-stop
chdir: /home/don/don
- name: Installation du site de don
shell: make install
......@@ -7,6 +7,6 @@
- name: Installation des dépendances pour le site de don.
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