Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Deploy boisgera/CDIS to github.com/boisgera/CDIS.git:gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
traviscibot committed Feb 12, 2021
0 parents commit 099c300
Show file tree
Hide file tree
Showing 720 changed files with 294,015 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .gitignore.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Visual Studio Code
settings.json

# Conda Environment
env
src/pip-delete-this-directory.txt
src/pandoc

# Python
*.pyc

# Generated Documents
*.*.*
output
*/output

# Generated Images
*/images/*.pdf
*/images/*.svg

# Other
tmp
Empty file added .nojekyll
Empty file.
62 changes: 62 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
dist: xenial
language: bash

branches:
only:
- master

env:
global:
- CONDA=https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

before_install:
- sudo apt-get update
- sudo apt-get --yes --force-yes install texlive-full
- curl $CONDA > conda.sh
- bash conda.sh -b -p $HOME/conda
- rm conda.sh
- export PATH=$HOME/conda/bin:$PATH
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda install setuptools # hack against the conda "RemoveError" in update
- conda update conda
- conda info -a # debugging
- conda env create -v -f environment.yml -p env
- source activate ./env
- curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh
- sudo bash nodesource_setup.sh
- sudo apt-get install nodejs
- sudo npm install --unsafe-perm -g decktape
# easiest way to get the dependencies of chromium right is to (re-)install it
- sudo apt-get install chromium-browser

install:
- echo "fetching calendar ..."
- mkdir -p Calendrier
- python utils/calendrier/fetch.py > Calendrier/calendrier.txt
- echo "install started ..."
- ./build
- cd quizz && ./build && cd ..
- cd Enquete/2019 && unzip report-2019-2020-EC1.zip && cd ../..
- cd Enquete/2019 && unzip report-2019-2020-EC2.zip && cd ../..
- cd Enquete/2020 && ./build && unzip report-2020-2021-EC1.zip && cd ../..
- cd Enquete/2020 && unzip report-2020-2021-EC2.zip && cd ../..

# hack for Travis CI (encoding issue ?). Yes but pdf generation broken again
# I disable it for the moment
# - cd Extra/Comit* && ./build --pdf && cp -rf output/* ../../output/ && cd ../..
# now prepare deployment to gh-pages
- rm -rf env
- mv .gitignore .gitignore.bak
- mv Enquete/2019/.gitignore Enquete/2019/.gitignore.bak
- mv Enquete/2020/.gitignore Enquete/2020/.gitignore.bak

deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
on:
branch: master



Loading

0 comments on commit 099c300

Please sign in to comment.