Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-notes-api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-notes-api
Commits
72aa18e6
Commit
72aa18e6
authored
Dec 29, 2014
by
Tim Babych
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
download elasticsearch binaries
parent
8dc87c60
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
2 deletions
+35
-2
.travis.yml
+2
-2
scripts/travis/install.sh
+11
-0
scripts/travis/setup.sh
+22
-0
No files found.
.travis.yml
View file @
72aa18e6
language
:
python
python
:
2.7
sudo
:
false
services
:
-
elasticsearch
install
:
-
scripts/travis/install.sh
-
scripts/travis/setup.sh
-
pip install -r requirements/test.txt
-
git fetch origin master:refs/remotes/origin/master
# https://github.com/edx/diff-cover#troubleshooting
-
pip install coveralls
...
...
scripts/travis/install.sh
0 → 100755
View file @
72aa18e6
#!/bin/bash
# Installs Elasticsearch
#
# Requires ESVER environment variable to be set.
set
-e
echo
"Installing Elasticsearch
$ESVER
"
>
&2
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-
$ESVER
.tar.gz
tar
xzvf elasticsearch-
$ESVER
.tar.gz
scripts/travis/setup.sh
0 → 100755
View file @
72aa18e6
#!/bin/bash
# Runs Elasticsearch
#
# Requires ESVER environment variable to be set.
# cwd is the git repository root.
set
-e
echo
"Starting Elasticsearch
$ESVER
"
>
&2
pushd
elasticsearch-
$ESVER
# Elasticsearch 0.90 daemonizes automatically, but 1.0+ requires
# a -d argument.
if
[[
$ESVER
==
0
*
]]
;
then
./bin/elasticsearch
else
echo
"launching with -d option."
>
&2
./bin/elasticsearch
-d
fi
popd
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment