Skip to content

Commit 3f4952f

Browse files
committed
Updates
1 parent 9f3e834 commit 3f4952f

File tree

2 files changed

+3
-27
lines changed

2 files changed

+3
-27
lines changed

.travis.yml

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
language: julia
22
sudo: required
3+
dist: trusty
34

45
os:
56
- linux
@@ -18,30 +19,9 @@ matrix:
1819
allow_failures:
1920
- julia: nightly
2021

21-
before_install:
22-
- wget dist.neo4j.org/neo4j-community-3.3.5-unix.tar.gz
23-
- tar -xzf neo4j-community-3.3.5-unix.tar.gz
24-
- sed -i 's/#dbms.security.auth_enabled=false/dbms.security.auth_enabled=false/g' neo4j-community-3.3.5/conf/neo4j.conf
25-
- sed -i 's/dbms.security.auth_enabled=true/dbms.security.auth_enabled=false/g' neo4j-community-3.3.5/conf/neo4j.conf
26-
- export JAVA_HOME=/home/jdk/jdk1.7.0_45
27-
- export PATH=$JAVA_HOME/bin:$PATH
28-
- neo4j-community-3.3.5/bin/neo4j start
29-
3022
before_script:
31-
- curl http://neo4j:neo4j@localhost:7474/db/data/labels
32-
33-
# script:
34-
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
35-
# - julia --project --check-bounds=yes -e 'using UUIDs; write("Project.toml", replace(read("Project.toml", String), r"uuid = .*?\n" =>"uuid = \"$(uuid4())\"\n"));
36-
# import Pkg; Pkg.build("DistributedFactorGraphs"); Pkg.test("DistributedFactorGraphs"; coverage=true)'
37-
38-
# script:
39-
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
40-
# - julia --check-bounds=yes -e 'using Pkg; Pkg.clone(pwd()); Pkg.build("DistributedFactorGraphs"); Pkg.test("DistributedFactorGraphs"; coverage=true)'
41-
42-
# can be used if master of package is required
43-
# script:
44-
# - julia --project --color=yes --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(name="MetaGraphs", rev="master")); Pkg.build(); Pkg.test(coverage=true)'
23+
- sleep 10
24+
- curl -v POST http://neo4j:neo4j@localhost:7474/user/neo4j/password -d"password=test"
4525

4626
after_success:
4727
- julia -e 'using Pkg; cd(Pkg.dir("DistributedFactorGraphs")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder()); Coveralls.submit(process_folder())'

test/runtests.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ if haskey(Pkg.installed(), "IncrementalInference")
3737
@info "------------------------------------------------------------------------"
3838
@info "Neo4J Travis Test"
3939
@info "------------------------------------------------------------------------"
40-
using Neo4j
41-
neo4jConnection = Neo4j.Connection("localhost", port=7474, user="neo4j", password="neo4j");
42-
graph = getgraph(neo4jConnection);
43-
@info "NEO4J graph:" + graph
4440

4541
apis = [
4642
GraphsDFG{NoSolverParams}(),

0 commit comments

Comments
 (0)