Skip to content
Snippets Groups Projects
Commit 800c6286 authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

Merge branch 'dev2017' into 'master'

Dev2017

See merge request !5
parents e9a723be 6477f64e
No related merge requests found
......@@ -9,12 +9,15 @@ pages:
paths:
- public
formation-python:
ponte-du-python:
only:
- master
image: boileaum/ubuntu-python-latex-zip
image: debian:latest
script:
- scripts/make_zip.sh
- apt-get update
- apt-get install pip
- pip install latex
- scripts/make_archive.sh
artifacts:
paths:
- formation-python.zip
- ponte-du-python.zip
#!/bin/bash
set -x
archive_name="ponte-du-python"
# Remove slideshow lines and convert to pdf
python scripts/process.py
./scripts/make_includes.sh
if [ "$1" == '-zip' ]
then
rm -f $archive_name.zip
zip -r $archive_name.zip -@ < include.lst
else
rm -rf $archive_name
rsync -av --files-from="include.lst" ./ ./$archive_name/
fi
#!/bin/bash
set -x
# Remove slideshow lines and convert to pdf
python scripts/process.py $1
./scripts/make_includes.sh
rm -f formation-python.zip
zip -r formation-python.zip -@ < include.lst
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment