Skip to content

Commit 4613b14

Browse files
committed
restore arm tests and only setup neo4j on IIF test job
1 parent 0ce1d5c commit 4613b14

File tree

1 file changed

+22
-7
lines changed

1 file changed

+22
-7
lines changed

.travis.yml

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

55
os:
66
- linux
@@ -22,9 +22,14 @@ env:
2222
jobs:
2323
include:
2424
- julia: 1.3
25+
dist: trusty
2526
env: IIF_TEST=true
2627
if: NOT branch =~ ^release.*$
27-
# - arch: arm64
28+
# Set the password for Neo4j to neo4j:test
29+
before_script:
30+
- sleep 10
31+
- curl -v POST http://neo4j:neo4j@localhost:7474/user/neo4j/password -d"password=test"
32+
- arch: arm64
2833
- stage: "Documentation"
2934
julia: 1.3
3035
os: linux
@@ -35,17 +40,27 @@ jobs:
3540
fast_finish: true
3641
allow_failures:
3742
- julia: nightly
38-
# - arch: arm64
43+
- arch: arm64
3944
#- env: IIF_TEST=true
4045

4146
notifications:
4247
email: false
4348

4449

45-
# Set the password for Neo4j to neo4j:test
46-
before_script:
47-
- sleep 10
48-
- curl -v POST http://neo4j:neo4j@localhost:7474/user/neo4j/password -d"password=test"
50+
# Attempt to install neo4j on Xenial and set the password for Neo4j to neo4j:test
51+
# Cloud tests errors with authentication error
52+
#before_script:
53+
# - sudo add-apt-repository -y ppa:openjdk-r/ppa
54+
# - sudo apt-get update
55+
# - wget -O - https://debian.neo4j.com/neotechnology.gpg.key | sudo apt-key add -
56+
# - echo 'deb https://debian.neo4j.com stable latest' | sudo tee -a /etc/apt/sources.list.d/neo4j.list
57+
# - sudo apt-get update
58+
# - apt list -a neo4j
59+
# - sudo apt-get install neo4j=1:4.0.0
60+
# - sudo service neo4j start
61+
# - sleep 10
62+
# - sudo neo4j-admin set-initial-password test
63+
# - curl -I http://localhost:7474/
4964

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

0 commit comments

Comments
 (0)