forked from arangodb/arangodb-php
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
24 lines (21 loc) · 852 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
language: php
matrix:
include:
- php: '5.5'
env: PHP_VERSION_USED="5.5"
- php: '5.6'
env: PHP_VERSION_USED="5.6"
- php: '7.0'
env: PHP_VERSION_USED="7.0"
- php: hhvm
env: PHP_VERSION_USED="hhvm"
before_script:
- wget https://phar.phpunit.de/phpunit.phar
- chmod a+x phpunit.phar
- chmod 777 ./tests/travis/setup_arangodb.sh
- ./tests/travis/setup_arangodb.sh
script:
- if [[ "${PHP_VERSION_USED}" == "5.5" ]]; then phpunit --configuration ./tests/phpunit.xml; fi
- if [[ "${PHP_VERSION_USED}" == "5.6" ]]; then phpunit --configuration ./tests/phpunit.xml; fi
- if [[ "${PHP_VERSION_USED}" == "7.0" ]]; then (cd tests && ../phpunit.phar . --colors=auto --verbose --bootstrap=bootstrap.php); fi
- if [[ "${PHP_VERSION_USED}" == "hhvm" ]]; then phpunit --configuration ./tests/phpunit.xml; fi