| 1234567891011121314151617181920212223 |
- # Pour une utilisation avec Docker
- # on importe l'image Docker
- image: python:3.6
- #image: python
- #image: python:latest
- # Commande d'avant exécution des jobs
- before_script:
- - python -V # affiche la version de python (pour info)
- - pip install cov-core # librairie python, nécessaire à nose2
- - pip install nose2 # librairie python d'exécution de tests unitaires
- - pip install coveralls # librairie python pour la couverture des tests
- # Utiliser le cache pour pip (installation de librairies)
- cache:
- paths:
- - ~/.cache/pip/
- # lancement d'un job
- test:
- script:
- - nose2
|