summaryrefslogtreecommitdiff
path: root/node_modules/snekfetch/scripts
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-03 02:48:28 -0700
committer8cy <[email protected]>2020-04-03 02:48:28 -0700
commitf9159ea2d994e14180fb02ab562f0119513e67cf (patch)
tree09d14cdf05456567156738b681379d4bccd64e5c /node_modules/snekfetch/scripts
parent2020/04/03, 02:42, V1.2.1 (diff)
downloads5nical-f9159ea2d994e14180fb02ab562f0119513e67cf.tar.xz
s5nical-f9159ea2d994e14180fb02ab562f0119513e67cf.zip
2020/04/03, 02:47, V1.2.2
Diffstat (limited to 'node_modules/snekfetch/scripts')
-rw-r--r--node_modules/snekfetch/scripts/travis-deploy.sh29
-rw-r--r--node_modules/snekfetch/scripts/travis-test.sh14
2 files changed, 0 insertions, 43 deletions
diff --git a/node_modules/snekfetch/scripts/travis-deploy.sh b/node_modules/snekfetch/scripts/travis-deploy.sh
deleted file mode 100644
index 5af87dc..0000000
--- a/node_modules/snekfetch/scripts/travis-deploy.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-# Based on https://github.com/hydrabolt/discord.js-site/blob/master/deploy/deploy.sh
-
-set -e
-
-if [ "$TRAVIS_BRANCH" != "master" -o -n "$TRAVIS_TAG" -o "$TRAVIS_PULL_REQUEST" != "false" ]; then
- echo -e "Not building for a non master branch push - building without deploying."
- npm run docs
- exit 0
-fi
-
-echo -e "Building for a master branch push - building and deploying."
-
-REPO=$(git config remote.origin.url)
-SHA=$(git rev-parse --verify HEAD)
-
-TARGET_BRANCH="gh-pages"
-git clone $REPO dist -b $TARGET_BRANCH
-
-npm run docs
-
-rsync -vau docs/ dist/
-
-cd dist
-git add --all .
-git config user.name "Travis CI"
-git config user.email "${COMMIT_EMAIL}"
-git commit -m "Docs build: ${SHA}" || true
-git push "https://${GH_TOKEN}@${GH_REF}" $TARGET_BRANCH
diff --git a/node_modules/snekfetch/scripts/travis-test.sh b/node_modules/snekfetch/scripts/travis-test.sh
deleted file mode 100644
index aa4e37d..0000000
--- a/node_modules/snekfetch/scripts/travis-test.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-set -e
-
-npm run lint
-
-npm run test
-
-if [ "$TRAVIS_BRANCH" != "master" -o -n "$TRAVIS_TAG" -o "$TRAVIS_PULL_REQUEST" != "false" ]; then
- echo -e "Not sending coverage for a non master branch push - covering without sending."
- exit 0
-fi
-
-echo -e "Generating Coverage for a master branch push - covering and sending."
-
-npm run test:coveralls