Skip to content

Commit c232bcc

Browse files
bronhustonNeoValkyrion
authored andcommitted
Stand-up X-API in development mode
Signed-off-by: Cen Ge <cge@corelogic.com> Signed-off-by: Dan Neumann <dan@bestangle.com> Signed-off-by: John Ryan <jtigger@infosysengr.com>
1 parent 53043b2 commit c232bcc

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ jdk:
55

66
# http://docs.travis-ci.com/user/migrating-from-legacy
77
sudo: false
8+
cache: bundler
9+
before_install:
10+
- rvm install 2.2.1
11+
- rvm use 2.2.1
812

913
script:
1014
- bin/journey-setup.sh

bin/journey-setup.sh

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
#!/bin/bash
22

3-
rvm install 2.2.1
4-
rvm 2.2.1 do rvm env --path
5-
source $(rvm 2.2.1 do rvm env --path)
6-
73
git clone https://github.com/exercism/x-api
84
cd x-api
5+
git submodule init -- metadata
96
git submodule init -- tracks/java
107
git submodule update
118

129
gem install bundler
1310
bundle install
14-
rackup
11+
12+
RACK_ENV=development rackup&
13+
14+
sleep 5
15+
16+
ps aux | grep rackup
17+
18+
curl -i 'localhost:9292/tracks/java/hello-world'

x-api

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit eecf15a0af868a1611e7e5b82cdb955beb9a8605

0 commit comments

Comments
 (0)