Skip to content

Commit

Permalink
Merge pull request #66 from Ark4ne/1.3-php7.x
Browse files Browse the repository at this point in the history
allow php 7.3
  • Loading branch information
Ark4ne committed Mar 5, 2020
2 parents 89ce41f + 9883d4f commit c3edbde
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 12 deletions.
36 changes: 26 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,41 @@ php:
- 7.0
- 7.1
- 7.2
- 7.3

env:
- PHALCON_VERSION="3.0.x"
- PHALCON_VERSION="3.1.x"
- PHALCON_VERSION="3.2.x"
- PHALCON_VERSION="3.3.x"
- PHALCON_VERSION="3.4.x"
- PHALCON_VERSION="v3.0.4"
- PHALCON_VERSION="v3.1.2"
- PHALCON_VERSION="v3.2.4"
- PHALCON_VERSION="v3.3.2"
- PHALCON_VERSION="v3.4.5"

matrix:
exclude:
- php: 7.1
env: PHALCON_VERSION="3.0.x"
env: PHALCON_VERSION="v3.0.4"
- php: 7.2
env: PHALCON_VERSION="3.0.x"
env: PHALCON_VERSION="v3.0.4"
- php: 7.3
env: PHALCON_VERSION="v3.0.4"
- php: 7.3
env: PHALCON_VERSION="v3.1.2"
- php: 7.3
env: PHALCON_VERSION="v3.2.4"
- php: 7.3
env: PHALCON_VERSION="v3.3.2"

before_install:
- sudo ln -s /home/travis/.phpenv/versions/$(phpenv version-name)/bin/phpize /usr/bin/
- sudo ln -s /home/travis/.phpenv/versions/$(phpenv version-name)/bin/php-config /usr/bin/
- git clone --depth=1 -q --branch=${PHALCON_VERSION} https://github.com/phalcon/cphalcon.git
- cd cphalcon/build
- bash install
- phpenv config-add ../tests/_ci/phalcon.ini
- cd ../../

install:
- composer self-update
- git clone --depth=1 -q --branch=${PHALCON_VERSION} https://github.com/phalcon/cphalcon.git
- '(cd cphalcon/build; bash install && phpenv config-add ../tests/_ci/phalcon.ini && cd ../..;)'
- php -v
- php -r 'echo \Phalcon\Version::get() . PHP_EOL;'
- php -m
- travis_retry composer install --no-interaction --prefer-source --dev
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
}
],
"require": {
"php": "5.6 - 7.2",
"php": "5.6 - 7.3",
"ext-phalcon": "~3.0",
"nikic/php-parser": "^3.0",
"ark4ne/highlight": "dev-master"
},
"require-dev": {
"phalcon/ide-stubs": "dev-master",
"phalcon/ide-stubs": "~3.0",
"phpunit/phpunit": "~5.6",
"mockery/mockery": "~0.9.4",
"satooshi/php-coveralls": "~1.0"
Expand Down

0 comments on commit c3edbde

Please sign in to comment.