Skip to content

Commit 6663183

Browse files
update to the correct location for travis's script
1 parent aeb4995 commit 6663183

2 files changed

Lines changed: 21 additions & 11 deletions

File tree

config/travis/init.sh

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,26 @@ fi
1212
# Pull in the server code.
1313
git clone --single-branch --depth 1 https://github.com/intermine/intermine.git server
1414

15-
# We need a running demo webapp
16-
source server/config/download_and_configure_tomcat.sh
17-
sleep 5 # wait for tomcat to come on line
18-
# Get messages from 500 errors.
19-
echo 'i.am.a.dev = true' >> server/testmodel/testmodel.properties
20-
PSQL_USER=postgres sh server/testmodel/setup.sh
21-
sleep 15 # wait for the webapp to come on line
15+
16+
export PSQL_USER=postgres
17+
18+
# Set up properties
19+
PROPDIR=$HOME/.intermine
20+
TESTMODEL_PROPS=$PROPDIR/testmodel.properties
21+
SED_SCRIPT='s/PSQL_USER/postgres/'
22+
23+
mkdir -p $PROPDIR
24+
25+
echo "#--- creating $TESTMODEL_PROPS"
26+
cp server/config/testmodel.properties $TESTMODEL_PROPS
27+
sed -i -e $SED_SCRIPT $TESTMODEL_PROPS
28+
29+
# We will need a fully operational web-application
30+
echo '#---> Building and releasing web application to test against'
31+
(cd server/testmine && ./setup.sh)
32+
sleep 60 # let webapp startup
2233

2334
# Warm up the keyword search by requesting results, but ignoring the results
24-
$GET $TESTMODEL_URL/service/search > /dev/null
25-
# Start any list upgrades by poking the lists service.
35+
$GET "$TESTMODEL_URL/service/search" > /dev/null
36+
# Start any list upgrades
2637
$GET "$TESTMODEL_URL/service/lists?token=test-user-token" > /dev/null
27-

intermine/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "1.09.09"
1+
VERSION = "1.11.0"

0 commit comments

Comments
 (0)