diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 5741b533..fc9a38c2 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -11,6 +11,7 @@ addons: | |||
11 | 11 | ||
12 | # cache vendor dirs | 12 | # cache vendor dirs |
13 | cache: | 13 | cache: |
14 | apt: true | ||
14 | directories: | 15 | directories: |
15 | - vendor | 16 | - vendor |
16 | - $HOME/.composer/cache | 17 | - $HOME/.composer/cache |
@@ -22,12 +23,15 @@ php: | |||
22 | - hhvm | 23 | - hhvm |
23 | 24 | ||
24 | env: | 25 | env: |
25 | - DB=mysql | 26 | - DB=mysql |
26 | - DB=pgsql | 27 | - DB=pgsql |
27 | - DB=sqlite | 28 | - DB=sqlite |
28 | 29 | ||
29 | matrix: | 30 | matrix: |
30 | fast_finish: true | 31 | fast_finish: true |
32 | include: | ||
33 | - php: 7.0 | ||
34 | env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run DB=sqlite | ||
31 | exclude: | 35 | exclude: |
32 | - php: hhvm | 36 | - php: hhvm |
33 | env: DB=pgsql # driver for PostgreSQL currently unsupported by HHVM, requires 3rd party dependency | 37 | env: DB=pgsql # driver for PostgreSQL currently unsupported by HHVM, requires 3rd party dependency |
@@ -53,3 +57,5 @@ script: | |||
53 | - travis_wait composer install --no-interaction --no-progress --prefer-dist -o | 57 | - travis_wait composer install --no-interaction --no-progress --prefer-dist -o |
54 | - ant prepare-$DB | 58 | - ant prepare-$DB |
55 | - bin/phpunit -v | 59 | - bin/phpunit -v |
60 | - if [ "$CS_FIXER" = "run" ]; then php bin/php-cs-fixer fix src/ --verbose --dry-run ; fi; | ||
61 | - if [ "$VALIDATE_TRANSLATION_FILE" = "run" ]; then php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations ; fi; | ||