déplacement des fichiers d'intégration continue dans un répertoire dédié

This commit is contained in:
Christophe-Marie Duquesne
2015-12-20 18:18:21 +01:00
parent aaeb1e2d04
commit 28378d77c8
6 changed files with 16 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
language: python
python: "3.5"
install: pip install -r besoins.txt
script: python verifie.py
install: pip install -r vérifications/besoins.txt
script: python vérifications/vérifie.py
branches:
only:
- gh-pages

11
LISEZMOI.md Normal file
View File

@@ -0,0 +1,11 @@
[![Clavardage sur Gitter](https://img.shields.io/badge/clavarder-avec%20nous-brightgreen.svg)](https://gitter.im/soulaklabs/bitoduc.fr) [![Dispositif d'intégration continue](https://img.shields.io/travis/soulaklabs/bitoduc.fr.svg)](https://travis-ci.org/soulaklabs/bitoduc.fr)
bitoduc.fr
==========
Un site pour la promotion de la francophonie dans le monde informatique.
A website to promote french words for computer concepts.
http://bitoduc.fr/

View File

@@ -1,11 +0,0 @@
[![Clavardage sur Gitter](https://img.shields.io/badge/clavarder-avec%20nous-brightgreen.svg)](https://gitter.im/soulaklabs/bitoduc.fr) [![Dispositif d'intégration continue](https://img.shields.io/travis/soulaklabs/bitoduc.fr.svg)](https://travis-ci.org/soulaklabs/bitoduc.fr)
bitoduc.fr
==========
Un site pour la promotion de la francophonie dans le monde informatique.
A website to promote french words for computer concepts.
http://bitoduc.fr/

1
README.md Symbolic link
View File

@@ -0,0 +1 @@
LISEZMOI.md

View File

@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import json
from jsonschema import validate as valide
@@ -13,7 +14,7 @@ def verifie_ordre(mots):
def principal():
with open('traductions.json') as f:
d = json.load(f)
with open('schema.json') as f:
with open('vérifications/schéma.json') as f:
schema = json.load(f)
valide(d, schema)
verifie_ordre(d['faux mots'])