Skip to content

Commit 6074669

Browse files
committed
Testing Ubuntu Focal on Travis CI
1 parent 9e87977 commit 6074669

3 files changed

Lines changed: 10 additions & 17 deletions

File tree

.travis.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
1+
---
2+
os: linux
13
language: python
2-
sudo: false
34
jdk: openjdk11
4-
dist: bionic
5+
dist: focal
56
addons:
6-
- postgresql: 11
7+
- postgresql: 12.2
78
services: postgresql
89
env:
910
global:
1011
- TESTMODEL_URL=http://localhost:8080/intermine-demo
1112
- TESTMODEL_PATH=intermine-demo
1213
before_script:
13-
#- export JAVA_HOME=/usr/local/lib/jvm/openjdk8
14-
#- export PATH=$JAVA_HOME/bin:$PATH
15-
- java -version
16-
- javac -version
17-
- echo $JAVA_HOME
18-
- echo $PATH
1914
- "./config/travis/init-solr.sh"
2015
- "./config/travis/init.sh"
2116
script:
2217
- python setup.py test
2318
- python setup.py livetest
2419
python:
20+
- "3.6"
2521
- "3.7"
2622

config/travis/init-solr.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# set up solr for testmine
22
# testmine's setup script populates these empty indexes
33

4-
wget http://archive.apache.org/dist/lucene/solr/8.5.2/solr-8.5.2.tgz
5-
tar xzf solr-8.5.2.tgz && ./solr-8.5.2/bin/solr start
6-
./solr-8.5.2/bin/solr create -c intermine-search
7-
./solr-8.5.2/bin/solr create -c intermine-autocomplete
4+
wget http://archive.apache.org/dist/lucene/solr/8.6.2/solr-8.6.2.tgz
5+
tar xzf solr-8.6.2.tgz && ./solr-8.6.2/bin/solr start
6+
./solr-8.6.2/bin/solr create -c intermine-search
7+
./solr-8.6.2/bin/solr create -c intermine-autocomplete

config/travis/init.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ else
1010
fi
1111

1212
# Pull in the server code.
13-
#git clone --single-branch --depth 1 https://github.com/intermine/intermine.git server
14-
15-
# Testing only for now
16-
git clone --single-branch --branch remove-gretty-2276 --depth 10 https://github.com/danielabutano/intermine.git server
13+
git clone --single-branch --depth 1 https://github.com/intermine/intermine.git server
1714

1815
export PSQL_USER=postgres
1916

0 commit comments

Comments
 (0)