diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index a387fc13..73f9491a 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -22,7 +22,6 @@ php: | |||
22 | - 7.0 | 22 | - 7.0 |
23 | - 7.1 | 23 | - 7.1 |
24 | - nightly | 24 | - nightly |
25 | - hhvm | ||
26 | 25 | ||
27 | env: | 26 | env: |
28 | - DB=mysql | 27 | - DB=mysql |
@@ -32,13 +31,29 @@ env: | |||
32 | matrix: | 31 | matrix: |
33 | fast_finish: true | 32 | fast_finish: true |
34 | include: | 33 | include: |
34 | # driver for PostgreSQL currently unsupported by HHVM, requires 3rd party dependency | ||
35 | - php: hhvm-3.12 | ||
36 | sudo: required | ||
37 | dist: trusty | ||
38 | group: edge | ||
39 | env: DB=mysql | ||
40 | addons: | ||
41 | apt: | ||
42 | packages: | ||
43 | - mysql-server-5.6 | ||
44 | - mysql-client-core-5.6 | ||
45 | - mysql-client-5.6 | ||
46 | services: | ||
47 | - mysql | ||
48 | - php: hhvm-3.12 | ||
49 | sudo: required | ||
50 | dist: trusty | ||
51 | group: edge | ||
52 | env: DB=sqlite | ||
35 | - php: 7.0 | 53 | - php: 7.0 |
36 | env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run DB=sqlite | 54 | env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run DB=sqlite |
37 | exclude: | ||
38 | - php: hhvm | ||
39 | env: DB=pgsql # driver for PostgreSQL currently unsupported by HHVM, requires 3rd party dependency | ||
40 | allow_failures: | 55 | allow_failures: |
41 | - php: hhvm | 56 | - php: hhvm-3.12 |
42 | - php: nightly | 57 | - php: nightly |
43 | 58 | ||
44 | # exclude v1 branches | 59 | # exclude v1 branches |
@@ -47,9 +62,10 @@ branches: | |||
47 | - legacy | 62 | - legacy |
48 | 63 | ||
49 | before_script: | 64 | before_script: |
50 | - if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi; | 65 | - PHP=$TRAVIS_PHP_VERSION |
66 | - if [[ ! $PHP = hhvm* ]]; then echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi; | ||
51 | # xdebug isn't enable for PHP 7.1 | 67 | # xdebug isn't enable for PHP 7.1 |
52 | - if [[ $TRAVIS_PHP_VERSION != '7.1' && $TRAVIS_PHP_VERSION != 'hhvm' ]]; then phpenv config-rm xdebug.ini; fi | 68 | - if [[ ! $PHP = hhvm* ]]; then phpenv config-rm xdebug.ini || echo "xdebug not available"; fi |
53 | - composer self-update --no-progress | 69 | - composer self-update --no-progress |
54 | - if [[ "$DB" = "pgsql" ]]; then psql -c 'create database wallabag_test;' -U postgres; fi; | 70 | - if [[ "$DB" = "pgsql" ]]; then psql -c 'create database wallabag_test;' -U postgres; fi; |
55 | 71 | ||