forked from florinpatrascu/bolt_sips
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
117 lines (114 loc) · 2.88 KB
/
.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
sudo: required
services: docker
language: elixir
matrix:
include:
- elixir: 1.7.4
otp_release: 21.2
env:
- NEO4J_VERSION=3.2.14
- BOLT_V1_EXCLUDED=false
- BOLT_V2_EXCLUDED=true
- BOLT_V3_EXCLUDED=true
- elixir: 1.7.4
otp_release: 21.2
env:
- NEO4J_VERSION=3.2.14
- BOLT_V1_EXCLUDED=false
- BOLT_V2_EXCLUDED=true
- BOLT_V3_EXCLUDED=true
- elixir: 1.7.4
otp_release: 21.2
env:
- NEO4J_VERSION=3.4.17
- BOLT_V1_EXCLUDED=false
- BOLT_V2_EXCLUDED=false
- BOLT_V3_EXCLUDED=true
- elixir: 1.7.4
otp_release: 21.2
env:
- NEO4J_VERSION=3.5.14
- BOLT_V1_EXCLUDED=true
- BOLT_V2_EXCLUDED=false
- BOLT_V3_EXCLUDED=false
- elixir: 1.8.2
otp_release: 21.2
env:
- NEO4J_VERSION=3.2.14
- BOLT_V1_EXCLUDED=false
- BOLT_V2_EXCLUDED=true
- BOLT_V3_EXCLUDED=true
- elixir: 1.8.2
otp_release: 21.2
env:
- NEO4J_VERSION=3.2.14
- BOLT_V1_EXCLUDED=false
- BOLT_V2_EXCLUDED=true
- BOLT_V3_EXCLUDED=true
- elixir: 1.8.2
otp_release: 21.2
env:
- NEO4J_VERSION=3.4.17
- BOLT_V1_EXCLUDED=false
- BOLT_V2_EXCLUDED=false
- BOLT_V3_EXCLUDED=true
- elixir: 1.8.2
otp_release: 21.2
env:
- NEO4J_VERSION=3.5.14
- BOLT_V1_EXCLUDED=true
- BOLT_V2_EXCLUDED=false
- BOLT_V3_EXCLUDED=false
- elixir: 1.8.2
otp_release: 21.2
env:
- NEO4J_VERSION=4.2.1
- BOLT_V1_EXCLUDED=true
- BOLT_V2_EXCLUDED=false
- BOLT_V3_EXCLUDED=false
exclude:
- elixir: 1.8
otp_release: 19.3
- elixir: 1.8
otp_release: 18.3
- elixir: 1.7
otp_release: 18.3
- elixir: 1.6
otp_release: 18.3
- elixir: 1.5
otp_release: 21.2
- elixir: 1.4
otp_release: 21.2
- elixir: 1.3
otp_release: 21.2
- elixir: 1.3
otp_release: 20.3
- elixir: 1.2
otp_release: 21.2
- elixir: 1.2
otp_release: 20.3
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- ninja-build
cache:
directories:
- $HOME/cmake
env:
global:
- ELIXIR_ERL_OPTIONS="+T 9"
- PATH=$HOME/cmake/bin:$PATH
- CXX=g++-6
- CC=gcc-6
branches:
only:
- master
before_install:
- if [ ! -d "$HOME/cmake/bin" ]; then wget --no-check-certificate https://cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.sh && sh cmake-3.5.2-Linux-x86_64.sh --prefix=$HOME/cmake --exclude-subdir; fi
- docker run --name neo4j -d -p 7687:7687 -e 'NEO4J_AUTH=neo4j/test' neo4j:$NEO4J_VERSION
- docker logs -f neo4j | sed /Bolt\ enabled/q
script:
- mix test --exclude routing --exclude bolt_v1:$BOLT_V1_EXCLUDED --exclude bolt_v2:$BOLT_V2_EXCLUDED --exclude bolt_v3:$BOLT_V3_EXCLUDED