forked from TECLIB/fastlane-plugin-test_report
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Naylin Medina <[email protected]>
- Loading branch information
Showing
3 changed files
with
99 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# LICENSE | ||
# | ||
# This file is part of Teclib Fastlane Plugin Test Report. | ||
# | ||
# Fastlane Plugin Test Report is a subproject of Teclib' | ||
# | ||
# Fastlane Plugin Test Report is free software: you can redistribute | ||
# it and/or modify it under the terms of the MIT License. | ||
# | ||
# Fastlane Plugin Test Report is distributed in the hope that it will | ||
# be useful, but WITHOUT ANY WARRANTY; without even the implied | ||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
# See the MIT license for further details. | ||
# ------------------------------------------------------------------- | ||
# @author Naylin Medina - <[email protected]> | ||
# @copyright Copyright Teclib. All rights reserved. | ||
# @license MIT https://opensource.org/licenses/MIT | ||
# @link https://github.com/TECLIB/fastlane-plugin-test_report/ | ||
# @link https://teclib.github.io/fastlane-plugin-test_report/ | ||
# @link http://www.teclib-edition.com/en/ | ||
# ------------------------------------------------------------------- | ||
# | ||
|
||
DOC_PATH="development/code-documentation/$CIRCLE_BRANCH" | ||
|
||
yarn gh-pages --dist ./coverage --dest $DOC_PATH -m "docs(development): update code documentation" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# LICENSE | ||
# | ||
# This file is part of Teclib Fastlane Plugin Test Report. | ||
# | ||
# Fastlane Plugin Test Report is a subproject of Teclib' | ||
# | ||
# Fastlane Plugin Test Report is free software: you can redistribute | ||
# it and/or modify it under the terms of the MIT License. | ||
# | ||
# Fastlane Plugin Test Report is distributed in the hope that it will | ||
# be useful, but WITHOUT ANY WARRANTY; without even the implied | ||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
# See the MIT license for further details. | ||
# ------------------------------------------------------------------- | ||
# @author Naylin Medina - <[email protected]> | ||
# @copyright Copyright Teclib. All rights reserved. | ||
# @license MIT https://opensource.org/licenses/MIT | ||
# @link https://github.com/TECLIB/fastlane-plugin-test_report/ | ||
# @link https://teclib.github.io/fastlane-plugin-test_report/ | ||
# @link http://www.teclib-edition.com/en/ | ||
# ------------------------------------------------------------------- | ||
# | ||
|
||
# install node | ||
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | ||
sudo apt-get install -y nodejs | ||
|
||
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | ||
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | ||
sudo apt-get update && sudo apt-get install yarn | ||
|
||
# install dependencies | ||
bundle install --path vendor/bundle | ||
|
||
yarn install | ||
|
||
# configure git | ||
git config --global user.email $GITHUB_EMAIL | ||
git config --global user.name "Teclib" | ||
git remote remove origin | ||
git remote add origin https://$GITHUB_USER:$GITHUB_TOKEN@github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# LICENSE | ||
# | ||
# This file is part of Teclib Fastlane Plugin Test Report. | ||
# | ||
# Fastlane Plugin Test Report is a subproject of Teclib' | ||
# | ||
# Fastlane Plugin Test Report is free software: you can redistribute | ||
# it and/or modify it under the terms of the MIT License. | ||
# | ||
# Fastlane Plugin Test Report is distributed in the hope that it will | ||
# be useful, but WITHOUT ANY WARRANTY; without even the implied | ||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
# See the MIT license for further details. | ||
# ------------------------------------------------------------------- | ||
# @author Naylin Medina - <[email protected]> | ||
# @copyright Copyright Teclib. All rights reserved. | ||
# @license MIT https://opensource.org/licenses/MIT | ||
# @link https://github.com/TECLIB/fastlane-plugin-test_report/ | ||
# @link https://teclib.github.io/fastlane-plugin-test_report/ | ||
# @link http://www.teclib-edition.com/en/ | ||
# ------------------------------------------------------------------- | ||
# | ||
|
||
mkdir ~/.gem | ||
echo -e "---\n:rubygems_api_key: $KEY_RUBYGEMS" > ~/.gem/credentials | ||
chmod 0600 ~/.gem/credential |