-
Notifications
You must be signed in to change notification settings - Fork 68
/
travis.sh
executable file
·22 lines (22 loc) · 713 Bytes
/
travis.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
# on error exit
set -e
# Flags used here, not in `make html`:
# -n Run in nit-picky mode. Currently, this generates warnings for all missing references.
# -W Turn warnings into errors. This means that the build stops at the first warning and sphinx-build exits with exit status 1.
# -N Do not emi colors
# -T output full traceback
# --keep-going continue the processing after a warning
cd Theorie
echo "**** Theorie ****"
sphinx-build -nWNT --keep-going -b html . /tmp
cd ../Outils
echo "**** Outils ****"
sphinx-build -nWNT --keep-going -b html . /tmp
cd ../Exercices
echo "**** Exercices ****"
#sphinx-build -nWNT --keep-going -b html . /tmp
cd QCM
echo "**** QCM ****"
#make
cd ../..