forked from Ostico/PhpOrient
-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
42 lines (34 loc) · 922 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
sudo: false
addons:
apt:
packages:
- oracle-java8-installer
- oracle-java8-set-default
language: php
php:
- 5.4
- 5.5
- 5.6
- 7
- nightly
- hhvm
install:
- bash ./ci/_composer_install.sh
- mkdir -p build/logs
- bash ./ci/start-ci.sh $ORIENTDB_VERSION
cache:
directories:
- ./vendor
before_cache:
- ls -la ./ci/environment/
- rm -f ./ci/environment/orientdb-community-$ORIENTDB_VERSION/log/*
- rm -rf ./ci/environment/orientdb-community-$ORIENTDB_VERSION/databases/*
script:
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- php ./vendor/bin/coveralls -v
env:
- ORIENTDB_VERSION=3.0.11 DBNAME=demodb HostName=localhost
- ORIENTDB_VERSION=2.2.20 DBNAME=GratefulDeadConcerts HostName=localhost
- ORIENTDB_VERSION=2.2.19 DBNAME=GratefulDeadConcerts HostName=localhost
- ORIENTDB_VERSION=2.2.9 DBNAME=GratefulDeadConcerts HostName=localhost