-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·43 lines (38 loc) · 1.65 KB
/
install.sh
File metadata and controls
executable file
·43 lines (38 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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 - <nmedina@teclib.com>
# @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