forked from Vinelab/NeoEloquent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (35 loc) · 929 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
language: php
php:
- 7.1
services:
- neo4j
matrix:
allow_failures:
- env: NEO4J_VERSION="2.3"
before_script:
# install dependencies to add repos
- sudo apt-get install -y python-software-properties
- sudo add-apt-repository -y ppa:webupd8team/java
- sudo apt-get update
# install oracle jdk 8
- sudo apt-get install -y oracle-java8-installer
- sudo update-alternatives --auto java
- sudo update-alternatives --auto javac
- export JAVA_HOME="/usr/lib/jvm/java-8-oracle"
# install composer
- travis_retry composer self-update
- travis_retry composer install --prefer-source --no-interaction
script: vendor/bin/phpunit
env:
global:
- NEO4J_AUTH=none
matrix:
- NEO4J_VERSION="2.3"
- NEO4J_VERSION="3.0"
- NEO4J_VERSION="3.1"
- NEO4J_VERSION="3.2"
- NEO4J_VERSION="3.3"
notifications:
slack:
rooms:
- vinelab:52MiVOHdct34FRg2o9sPBlJJ#graphdb