From 12508d61e558aa9d044383419f174b7737b73442 Mon Sep 17 00:00:00 2001 From: Moritz Schubotz <wiki@physikerwelt.de> Date: Sat, 17 Nov 2018 20:11:36 +0100 Subject: [PATCH] Cache pip and sign commit --- .travis.yml | 3 ++- support/commitUp.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 152f4a3..1469784 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,8 @@ install: - source ./support/texlive_install.sh - pip install PyGithub cache: - directories: +- pip +- directories: - "/tmp/texlive" - "$HOME/.texlive" script: diff --git a/support/commitUp.sh b/support/commitUp.sh index 656a569..ae92e48 100755 --- a/support/commitUp.sh +++ b/support/commitUp.sh @@ -4,6 +4,6 @@ gpg --import bibbot.asc git config --global user.email "bibbot@ckurs.de" git config --global user.name "BibBot" git config --global user.signingkey "1617C27854592471" -git commit -m "Reformat bib file" gipp.bib +git commit -S -m "Reformat bib file" gipp.bib git remote add http https://${GITHUB_TOKEN}@github.com/ag-gipp/bib.git git push http HEAD:$TRAVIS_BRANCH -- GitLab