Skip to content

Commit

Permalink
Merge pull request #796 from LSSTDESC/remove_pdfs
Browse files Browse the repository at this point in the history
Remove pdfs etc from repo
  • Loading branch information
c-d-leonard committed Jul 9, 2020
2 parents a9c2314 + 8027e39 commit dfb2401
Show file tree
Hide file tree
Showing 13 changed files with 78 additions and 449 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ matrix:
- name: linux (Python2.7)
- name: OSX (Python2.7)
fast_finish: true
cache:
directories:
- /tmp/texlive
- $HOME/.texlive
install:
- if [[ $TRAVIS_OS_NAME != 'osx' ]]; then source ./.travis/install_texlive_linux.sh; fi
- "./.travis/install.sh"
- export PATH=$HOME/miniconda/bin:$PATH
- source activate test-environment
Expand All @@ -34,6 +39,8 @@ install:
script:
- flake8 pyccl
- flake8 --exclude=data benchmarks
- if [[ $TRAVIS_OS_NAME != 'osx' ]]; then pushd doc/0000-ccl_note/ && make && popd; fi
- cd $TRAVIS_BUILD_DIR
- "[[ `grep \"$(printf '\t')\" pyccl/*.py` == \"\" ]]"
- mkdir -p build && cd build && cmake -DFORCE_OPENMP=YES -DCMAKE_VERBOSE_MAKEFILE=ON
.. && make && cd ..
Expand Down
1 change: 1 addition & 0 deletions .travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ esac;
# we have to activate the cond env before we install this
source activate test-environment
pip install https://github.com/JoeMcEwen/FAST-PT/archive/v3.0.2.tar.gz --no-deps
pip install mkauthlist --no-deps
conda deactivate
60 changes: 60 additions & 0 deletions .travis/install_texlive_linux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#!/usr/bin/env sh

# Originally from https://github.com/latex3/latex3

# This script is used for testing using Travis
# It is intended to work on their VM set up: Ubuntu 12.04 LTS
# A minimal current TL is installed adding only the packages that are
# required

# See if there is a cached version of TL available
export PATH=/tmp/texlive/bin/x86_64-linux:$PATH
if ! command -v texlua > /dev/null; then
# Obtain TeX Live
wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
tar -xzf install-tl-unx.tar.gz
cd install-tl-20*

# Install a minimal system
./install-tl --profile=../.travis/texlive/texlive.profile

cd ..
fi

# Just including texlua so the cache check above works
# Needed for any use of texlua even if not testing LuaTeX
tlmgr install luatex

# Other contrib packages: done as a block to avoid multiple calls to tlmgr
# texlive-latex-base is needed to run pdflatex
tlmgr install \
exam \
amsfonts \
stmaryrd \
amsmath \
latexmk \
revtex \
textcase \
epsf \
xcolor \
soul \
xifthen \
helvetic \
ulem \
ifmtarg \
unicode-math \
latex-tools \
psnfss \
rsfs \
times \
biblatex \
collection-fontsextra \
fpl \
palatino \
mathpazo

# Keep no backups (not required, simply makes cache bigger)
tlmgr option -- autobackup 0

# Update the TL install but add nothing new
tlmgr update --self --all --no-auto-install
10 changes: 10 additions & 0 deletions .travis/texlive/texlive.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
selected_scheme scheme-basic
TEXDIR /tmp/texlive
TEXMFCONFIG ~/.texlive/texmf-config
TEXMFHOME ~/texmf
TEXMFLOCAL /tmp/texlive/texmf-local
TEXMFSYSCONFIG /tmp/texlive/texmf-config
TEXMFSYSVAR /tmp/texlive/texmf-var
TEXMFVAR ~/.texlive/texmf-var
option_doc 0
option_src 0
Binary file removed doc/0000-ccl_note/0000-ccl_note.pdf
Binary file not shown.
85 changes: 0 additions & 85 deletions doc/0000-ccl_note/authors.tex

This file was deleted.

39 changes: 0 additions & 39 deletions doc/0000-ccl_note/contributions.tex

This file was deleted.

0 comments on commit dfb2401

Please sign in to comment.