-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
37 lines (29 loc) · 1.09 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
notifications:
email: false
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
env:
global:
- deps=high
before_script:
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpenv config-rm xdebug.ini; fi
- \[ -f $HOME/build/jolicode/ApacheTikaBundle/Tests/bin/tika-app.jar \] || wget -O $HOME/build/jolicode/ApacheTikaBundle/Tests/bin/tika-app.jar http://archive.apache.org/dist/tika/tika-app-1.21.jar
- \[ -f $HOME/build/jolicode/ApacheTikaBundle/Tests/bin/tika-server.jar \] || wget -O $HOME/build/jolicode/ApacheTikaBundle/Tests/bin/tika-server.jar -nc http://archive.apache.org/dist/tika/tika-server-1.21.jar
- java -jar $HOME/build/jolicode/ApacheTikaBundle/Tests/bin/tika-server.jar &
- sleep 5
matrix:
include:
- php: 7.0
env: deps=low
- php: 7.1
- php: 7.2
- php: 7.3
env: deps=high
install:
- if [ "$deps" = "low" ]; then composer --prefer-source --prefer-lowest update; fi;
- if [ "$deps" != "low" ]; then composer --prefer-source update; fi;
script:
- make travis_test