forked from neo4j-contrib/neomodel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (29 loc) · 958 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: python
sudo: required
python:
# Not supported in Neo4j Python Driver 4.1 https://neo4j.com/docs/api/python-driver/current/
# - "2.7"
# - "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
env:
# Not supported in Neo4j Python Driver 4.1 https://neo4j.com/docs/api/python-driver/current/
# - NEO4J_VERSION="3.0.10"
# - NEO4J_VERSION="3.1.7"
# - NEO4J_VERSION="3.2.9"
# - NEO4J_VERSION="3.3.3"
# - NEO4J_VERSION="3.4.0"
- NEO4J_VERSION="3.5.0"
- NEO4J_VERSION="4.0.8"
- NEO4J_VERSION="4.1.1"
install:
- sudo add-apt-repository -y ppa:openjdk-r/ppa
- sudo apt-get update && sudo apt-get install openjdk-11-jre-headless
- curl -L http://dist.neo4j.org/neo4j-community-$NEO4J_VERSION-unix.tar.gz | tar xz
before_script:
- neo4j-community-$NEO4J_VERSION/bin/neo4j-admin set-initial-password foobar
- JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 neo4j-community-$NEO4J_VERSION/bin/neo4j start
- sleep 10
script: "python setup.py test"