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 Oct 8, 2019
0 parents commit e42813c
Show file tree
Hide file tree
Showing 709 changed files with 450,770 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
50 changes: 50 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
dist: xenial
language: bash

branches:
only:
- master

env:
global:
- CONDA=https://repo.continuum.io/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
- export PATH=$HOME/conda/bin:$PATH
- hash -r
- conda config --set always_yes yes --set changeps1 no
- 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 Extra/"Comité Pédagogique 23-05-2019" && ./build --pdf && cp -rf output/* ../../output/ && cd ../..
# now prepare deployment to gh-pages
- rm -rf env
- mv .gitignore .gitignore.bak

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



Loading

0 comments on commit e42813c

Please sign in to comment.