From 66771ca752d4dd07ff5265b1999b6ff2d899a1fa Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Tue, 2 Jul 2024 22:13:03 +0700 Subject: [PATCH] Remove Travis config and deploy docs script. --- .travis.yml | 18 ------------------ deploy-docs.sh | 20 -------------------- 2 files changed, 38 deletions(-) delete mode 100644 .travis.yml delete mode 100755 deploy-docs.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3838a70..0000000 --- a/.travis.yml +++ /dev/null @@ -1,18 +0,0 @@ -language: rust -sudo: false -matrix: - include: - - rust: stable - - rust: nightly - env: FEATURES="--features nightly" -script: - - cargo build $FEATURES - - cargo test $FEATURES - - cargo doc --no-deps -after_success: | - [ "$TRAVIS_RUST_VERSION" = nightly ] && - [ "$TRAVIS_BRANCH" = master ] && - [ "$TRAVIS_PULL_REQUEST" = false ] && - bash deploy-docs.sh -notifications: - webhooks: http://huon.me:54857/travis diff --git a/deploy-docs.sh b/deploy-docs.sh deleted file mode 100755 index c8f25ee..0000000 --- a/deploy-docs.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -set -o errexit -o nounset - -rev=$(git rev-parse --short HEAD) - -cd target/doc - -git init -git config user.email 'FlashCat@users.noreply.github.com' -git config user.name 'FlashCat' -git remote add upstream "https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git" -git fetch upstream gh-pages -git reset upstream/gh-pages - -touch . - -git add -A . -git commit -m "rebuild pages at ${rev}" -git push -q upstream HEAD:gh-pages