forked from neo4j-contrib/neo4j_doc_manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (31 loc) · 818 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
31
32
language: python
sudo: false
python:
- "2.7"
- "3.3"
- "3.4"
# command to install dependencies
jdk:
- oraclejdk7
install:
- "pip install requests"
- "pip install unittest2"
- "pip install py2neo==2.0.8"
- "pip install pymongo==2.9"
- "pip install mongo-connector"
- "pip install mongo-orchestration==0.3.1"
env:
- PYTHONPATH=.
before_script:
- wget dist.neo4j.org/neo4j-community-2.3.2-unix.tar.gz
- tar -xzf neo4j-community-2.3.2-unix.tar.gz
- sed -i.bak s/dbms.security.auth_enabled=true/dbms.security.auth_enabled=false/g neo4j-community-2.3.2/conf/neo4j-server.properties
- neo4j-community-2.3.2/bin/neo4j start
- sleep 20
- sleep 15
- mongo-orchestration start
- sleep 15
# command to run tests
script: python -m unittest discover
after_script:
- mongo-orchestration stop