From e37b7a7e488e0ad13bc2b3d3668d68d700158e79 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Sat, 5 Oct 2019 09:43:08 +0200 Subject: [PATCH] Remove obsolete code coverage upload solution. --- .travis.yml | 9 ------ README.md | 1 - travis/code_coverage_id_rsa | 30 ----------------- travis/upload-code-coverage-html.sh | 50 ----------------------------- 4 files changed, 90 deletions(-) delete mode 100644 travis/code_coverage_id_rsa delete mode 100755 travis/upload-code-coverage-html.sh diff --git a/.travis.yml b/.travis.yml index a3ca4eda..17cd5b7c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,12 +23,6 @@ matrix: - php: 7.4snapshot dist: xenial -env: - global: - # Defines CODE_COVERAGE_PASSPHRASE which is the passphrase for unlocking - # the travis/code_coverage_id_rsa RSA private key. - - secure: "jtQTZKQBnzUlp/jz7NlM6470ZDnLGVAs53sgvIm4tcYqf9TWSXSXjIYvFsrS\nKPR2eyZaAevYysUkIGRFTUXTlG6tC36YngMp9+6FPxASl8mnGXsTbKcm613B\n59vD3242pgIgqhhmgFQ0c8gbvnE8PuF2aS4/hluP3r+AxhWN56E=" - before_install: true install: @@ -47,6 +41,3 @@ install: script: - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.5' ]; then vendor/bin/phing -f build/build.xml sniff; fi" - travis/run-phpunit.sh - -after_success: - - sh -c "if $TRAVIS_SECURE_ENV_VARS; then travis/upload-code-coverage-html.sh; fi" diff --git a/README.md b/README.md index f66f2504..2853eace 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,6 @@ arithmetic library, fully PKCS#1 (v2.1) compliant RSA, DES, 3DES, RC4, Rijndael, AES, Blowfish, Twofish, SSH-1, SSH-2, SFTP, and X.509 * [Browse Git](https://github.com/phpseclib/phpseclib) -* [Code Coverage Report](https://coverage.phpseclib.org/1.0/latest/) ## Documentation diff --git a/travis/code_coverage_id_rsa b/travis/code_coverage_id_rsa deleted file mode 100644 index 25d4094c..00000000 --- a/travis/code_coverage_id_rsa +++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rcozS4FMHmFm74X2xZGeBhxC -CpWQe/agxhWxG+ZXdxt9ExI78ftQCQoGE0Si1KZXH5KQ/xiGmebY9wbtEHWG+q25 -sKqvjQHQsE3NZq7kne3mnyvjzMDDFYPLDlQLgcKInNrLZ3GszyemtzqcVf3YVur4 -N+nN0gu6LCx0vtw3yNRqjjmGN1V6sKMCqmIAtFDh9zRTlDTs7ZUBGPgakmmJLLVM -ESme0JrRxCP+eEU8JNti9pKlKPGOFVpu4shLjmnmKuDpOytFNpcB/NylkGwZCxvE -1KI+EQMZOE5VROAfkvwBLE0SsVxMq7H87zSEOtOqr+QN8RoY1V6N/woBVWda9GFk -HI44PM2ZywQbLGthaQV/Kxwf9YZruJdunNoTfEufZgv2Vp+3VAs+gCTGIsbblTnH -J8QGfs/lHRBqK1pMZrYy0ubFqifA+b9Xa6VJWToCgcQuWbOVWn1zKQTTXZPksVbB -qyE8BJkQCDGgoeq4kdxm0XUR5p3UZWQv0HoykQt33U06TCzU9HOcp0z+Glhrzsvd -rbNBhRK0zXF/BFSNBHwKEg02TNlj7gSFJXmvZqvyCAFo5D6nSDbzqm6ARuscsrF0 -6Zd3toOZTWmrVsKvTlsNPfHXyoGqP3+0NXcTY+kKXG58u4TbEtw8pVyPikuVdh/m ------END RSA PRIVATE KEY----- diff --git a/travis/upload-code-coverage-html.sh b/travis/upload-code-coverage-html.sh deleted file mode 100755 index 668fb6a2..00000000 --- a/travis/upload-code-coverage-html.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh -# -# This file is part of the phpseclib project. -# -# (c) Andreas Fischer -# -# For the full copyright and license information, please view the LICENSE -# file that was distributed with this source code. -# - -USERNAME='phpseclib' -HOSTNAME='phpseclib.bantux.org' -HOSTRSAF='09:40:96:14:6a:cd:67:46:17:e5:b4:39:24:24:6e:9d' -LDIRNAME='code_coverage' -RDIRNAME='code_coverage' -ID_RSA='travis/code_coverage_id_rsa' - -# Install expect if necessary -if ! which expect > /dev/null -then - sudo apt-get update -qq - sudo apt-get install -qq expect -fi - -# Workaround for rsync not creating target directories with depth > 1 -mv "$LDIRNAME" "x$LDIRNAME" -RROOT="$RDIRNAME/$TRAVIS_BRANCH/$TRAVIS_BUILD_NUMBER" -mkdir -p "$RROOT" -mv "x$LDIRNAME" "$RROOT/PHP-$TRAVIS_PHP_VERSION/" - -# Update latest symlink -ln -s "$TRAVIS_BUILD_NUMBER" "$RDIRNAME/$TRAVIS_BRANCH/latest" - -# Stop complaints about world-readable key file. -chmod 600 "$ID_RSA" - -export RSYNC_RSH="ssh -4 -i $ID_RSA -o ConnectTimeout=5" -RSYNC_OPT="--recursive --times --links --progress" - -expect << EOF - spawn rsync $RSYNC_OPT "$RDIRNAME/" "$USERNAME@$HOSTNAME:$RDIRNAME/" - - expect "RSA key fingerprint is $HOSTRSAF." - send "yes\n" - - expect "Enter passphrase for key '$ID_RSA':" - send "$CODE_COVERAGE_PASSPHRASE\n" - - expect eof -EOF