forked from Payum/Payum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (43 loc) · 1.34 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
language: php
#env:
# global:
# - SYMFONY_DEPRECATIONS_HELPER=weak
git:
depth: 1
sudo: false
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 5.5
env: SYMFONY_VERSION=2.8.*
- php: 5.6
env: SYMFONY_VERSION=2.8.*
- php: 7.0
env: SYMFONY_VERSION=2.8.*
- php: 5.5
env: SYMFONY_VERSION=3.0.*
- php: 5.6
env: SYMFONY_VERSION=3.0.*
- php: 7.0
env: SYMFONY_VERSION=3.0.*
- php: hhvm
env: SYMFONY_VERSION=2.8.*
allow_failures:
- php: hhvm
services: mongodb
before_install:
- composer self-update
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then INI_FILE=~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; else INI_FILE=/etc/hhvm/php.ini; fi;
- if [[ "$TRAVIS_PHP_VERSION" = 5.* ]]; then echo "extension = mongo.so" >> $INI_FILE; fi;
install:
- if [[ "$SYMFONY_VERSION" = "3.0.*" ]]; then composer remove payum/omnipay-bridge omnipay/common omnipay/dummy omnipay/stripe omnipay/paypal --no-interaction; fi;
- if [[ "$TRAVIS_PHP_VERSION" = 5.* ]]; then composer require "doctrine/mongodb-odm:^1.0" --no-interaction --no-update; fi;
- composer require symfony/symfony:${SYMFONY_VERSION} --no-update
- composer install --prefer-source
script:
- bin/phpunit
notifications:
email:
- payumsupport@forma-pro.com