forked from ldbc/ldbc_snb_interactive_v1_impls
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
45 lines (45 loc) · 965 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
33
34
35
36
37
38
39
40
41
42
43
44
45
language: java
services:
- postgresql
addons:
postgresql: "9.6"
before_script:
- psql -c "ALTER ROLE postgres PASSWORD 'foo'" -U postgres
install:
# Cypher
- cd cypher
- ./get-neo4j.sh
- . environment-variables-neo4j.sh
- ./configure-neo4j.sh
- cd ..
# driver
- git clone https://github.com/ldbc/ldbc_snb_driver
- cd ldbc_snb_driver
- mvn install -DskipTests
- cd ..
# environment vars
- export POSTFIX=_0_0.csv
script:
# Postgres
- chmod 755 ~
- cd postgres/load-scripts
- ./load.sh
- cd ../..
# Cypher
- cd cypher
- . environment-variables-neo4j.sh
- echo $NEO4J_HOME
- cp test-data/raw/*.csv test-data/converted
- export NEO4J_DATA_DIR=`pwd`/test-data/converted
- cd load-scripts
- ./convert-csvs.sh
- ./import-to-neo4j.sh
- ./restart-neo4j.sh
- cd ../..
# tests
- mvn test -B
notifications:
slack: ldbcouncil:JRXP43nDV4KRgtclmoNZJpyq
email: false
on_success: change
on_failure: always