mirror of
https://github.com/soulaklabs/bitoduc.fr.git
synced 2025-12-08 17:13:23 +00:00
déplacement des fichiers d'intégration continue dans un répertoire dédié
This commit is contained in:
@@ -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
11
LISEZMOI.md
Normal file
@@ -0,0 +1,11 @@
|
||||
[](https://gitter.im/soulaklabs/bitoduc.fr) [](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/
|
||||
11
README.md
11
README.md
@@ -1,11 +0,0 @@
|
||||
[](https://gitter.im/soulaklabs/bitoduc.fr) [](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,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'])
|
||||
Reference in New Issue
Block a user