8000 Get candis setup by rupav · Pull Request #61 · HelikarLab/candis · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Get candis setup #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ python:
# - "3.6-dev"
# - "3.7-dev"
before_install:
- sudo -H pip install -U pipenv
- curl -sS 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
- # sudo -H pip install -U pipenv
- # curl -sS 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:
- curl -sL git.io/install-candis | sudo python
- # curl -sL git.io/install-candis | sudo python
- sudo python get-candis
- pip3 install pytest-cov # without reinstalling, its not working, latest version is 2.5.1
script:
# - export PIPENV_IGNORE_VIRTUALENVS=1 # To be used when pipenv is tested successfully.
Expand Down
11 changes: 8 additions & 3 deletions get-candis
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ class const(object):

URL_HOMEBREW_INSTALL = 'https://raw.githubusercontent.com/Homebrew/install/master/install'
HOMEBREW_TAPS = ['homebrew/science', 'caskroom/cask']
HOMEBREW_DEPENDENCIES = ['git', 'python3', 'gcc', 'r', 'graphviz']
HOMEBREW_DEPENDENCIES = ['git', 'python3', 'gcc', 'r', 'graphviz', 'yarn']
HOMEBREW_DEPENDENCIES_CASK = ['xquartz', 'weka']

APTGET_DEPENDENCIES = ['build-essential', 'git', 'python3-dev', 'python3-pip', 'graphviz-dev',
'default-jre', 'default-jre-headless', 'default-jdk',
'software-properties-common', 'python-software-properties', 'apt-transport-https',
'dialog', 'apt-utils',
'python3-tk'
'python3-tk', 'curl'
]

URL_CANDIS = 'https://github.com/HelikarLab/candis'
Expand Down Expand Up @@ -203,6 +203,11 @@ def setup_candis(args = None):
# Install Oracle JRE/JDK
popen(addapt, '-y', 'ppa:webupd8team/java')
popen(aptget, 'update')

# Install yarn
popen('curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -')
popen('echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list')
popen('sudo apt-get update && sudo apt-get install yarn')

# Auto Agree License.
popen('echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections')
Expand Down Expand Up @@ -256,4 +261,4 @@ def main(args = None):

if __name__ == '__main__':
args = sys.argv[1:]
main(args)
main(args)
0