diff options
author | Daisuke KONISHI <skydai1151@gmail.com> | 2020-07-04 09:23:49 +0300 |
---|---|---|
committer | Daisuke KONISHI <skydai1151@gmail.com> | 2020-07-04 09:23:49 +0300 |
commit | b38c120f35f8a78c74f91e02004168f6d9576163 (patch) | |
tree | 8b43268fc7afc55dfd7b6af434d54f9d8cfcd9e4 | |
parent | 6287a38e8062e255259476bf4973bb5d752d88c0 (diff) |
remove travis settings resolved #72
-rw-r--r-- | .travis.yml | 17 | ||||
-rw-r--r-- | bin/deploy.sh | 25 |
2 files changed, 0 insertions, 42 deletions
diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c31e953..0000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: node_js - -node_js: - - "12" - -cache: - directories: - - node_modules - -branches: - only: - - develop - -script: - - ls -la - -after_success: bash ./bin/deploy.sh diff --git a/bin/deploy.sh b/bin/deploy.sh deleted file mode 100644 index 2723fe9..0000000 --- a/bin/deploy.sh +++ /dev/null @@ -1,25 +0,0 @@ -set -e - -if [[ "false" != "$TRAVIS_PULL_REQUEST" ]]; then - echo "Not deploying pull requests." - exit -fi - -if [[ "develop" != "$TRAVIS_BRANCH" ]]; then - echo "Not on the 'develop' branch." - exit -fi - -rm -rf node_modules/ tasks/ source/ -rm -rf .editorconfig .travis.yml package.json package-lock.json .babelrc webpack.config.babel.js gulpfile.babel.js config.js .gitignore - -git config user.name "Travis CI" -git config user.email "travis@example.com" -git add -A -git commit --quiet -m "remove development files" - -git checkout -b master -git pull origin master -git merge develop - -git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master > /dev/null 2>&1 |