From 713d922a9cb28c92ad796a2c08f5b70b0925e6ae Mon Sep 17 00:00:00 2001 From: Ralf Stubner Date: Mon, 4 Mar 2019 12:49:24 +0100 Subject: [PATCH] Remove unnecessary .travis directory --- .travis/deploy.sh | 65 ----------------------------------------- .travis/deploy_key.enc | Bin 3248 -> 0 bytes 2 files changed, 65 deletions(-) delete mode 100755 .travis/deploy.sh delete mode 100644 .travis/deploy_key.enc diff --git a/.travis/deploy.sh b/.travis/deploy.sh deleted file mode 100755 index c387ef9..0000000 --- a/.travis/deploy.sh +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/bash -set -e # Exit with nonzero exit code if anything fails - -SOURCE_BRANCH="master" -TARGET_BRANCH="gh-pages" - -function doCompile { - Rscript -e 'covr::codecov()' - R CMD INSTALL "${PKG_TARBALL}" - Rscript -e 'pkgdown::build_site()' - mv docs/* out -} - -# Pull requests and commits to other branches shouldn't try to deploy, just build to verify -if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" ]; then - echo "Skipping deploy; just doing a build." - doCompile - exit 0 -fi - -# Save some useful information -REPO=`git config remote.origin.url` -SSH_REPO=${REPO/https:\/\/github.com\//git@github.com:} -SHA=`git rev-parse --verify HEAD` -COMMIT_AUTHOR_EMAIL=`git show --no-patch --format='%ae' ${SHA}` - -# Clone the existing gh-pages for this repo into out/ -# Create a new empty branch if gh-pages doesn't exist yet (should only happen on first deply) -git clone $REPO out -cd out -git checkout $TARGET_BRANCH || (git checkout --orphan $TARGET_BRANCH; git rm -rf .) -cd .. - -# Clean out existing contents -rm -rf out/**/* || exit 0 - -# Run our compile script -doCompile - -# Now let's go have some fun with the cloned repo -cd out -git config user.name "Travis CI" -git config user.email "$COMMIT_AUTHOR_EMAIL" - -# If there are no changes to the compiled out (e.g. this is a README update) then just bail. -git add -A . -if git diff --cached --quiet; then - echo "No changes to the output on this push; exiting." - exit 0 -fi - -# Commit the "changes", i.e. the new version. -# The delta will show diffs between new and old versions. -git commit -m "Deploy to GitHub Pages: ${SHA}" - -# Get the deploy key by using Travis's stored variables to decrypt deploy_key.enc -ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key" -ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv" -ENCRYPTED_KEY=${!ENCRYPTED_KEY_VAR} -ENCRYPTED_IV=${!ENCRYPTED_IV_VAR} -eval `ssh-agent -s` -openssl aes-256-cbc -K $ENCRYPTED_KEY -iv $ENCRYPTED_IV -in ../.travis/deploy_key.enc -d | ssh-add - - -# Now that we're all set up, we can push. -git push $SSH_REPO $TARGET_BRANCH diff --git a/.travis/deploy_key.enc b/.travis/deploy_key.enc deleted file mode 100644 index 221cb52bd296050638284452edf1747ee51707df..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3248 zcmV;h3{Ufq)J`(*eyP8MGSULce!Uzuco6<#Vt_el9{w$cOv(f!iMR^)^csV(I@d$= z{1wdAhK&a2<`k|3SKAQ)C6V5g>@PKEFl-%C&~O56ofXh={Uqx9SK4LYivN!UZogw6MWOkg)oqHvm%J6V6XPkJS!q-#)I0a8;c5bxd zx>2n+5n}#0zN55x2M=$FiajH{yYE{K#l)9M;qVu#RDS98GO;z#0&0@SVkaVQ3GPw%5D?TC8A4m#*~UE zA6U%yTK<5TjKZy6Yp6t0Ymz>}6v4xV=-~{oA6blMN{U7}ckH&nc20VNUksdYg$T-A z4)3bwo31`TOu95soE!b|R6^ov%PEID-LQtDN`q+zRk|cxwQNugc+vC7d@Km>T;Mo| zfDV`wArOpjMLAWqI}UY$UE$a_7A}5VVFVG)#$#GmZ{wJ!QzVzCmj>r=<`7b`k^c^! zsNw8(`(6=sEJl)#xaVENSHwtE50oFbDP4+M6wnx=E8dCA0Hoqd0Ik@>E+X6AZJPbw z(B;ZL8rYbQ&Ss{lARjOq!8JBWXD!N z2~H>9`d~L+h@6#VlGpw0Ig*TJF47|n8s#VckUr;#)y5?D#4wLB&+G}%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