aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml21
1 files changed, 9 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index eb409533..5b5b1808 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,17 +1,17 @@
1language: php 1language: php
2 2
3services: 3services:
4 - rabbitmq 4 - rabbitmq
5 - redis 5 - redis
6 6
7# faster builds on docker-container setup 7# faster builds on docker-container setup
8sudo: false 8sudo: false
9 9
10# used for HHVM 10# used for HHVM
11addons: 11addons:
12 apt: 12 apt:
13 packages: 13 packages:
14 - tidy 14 - tidy
15 15
16# cache vendor dirs 16# cache vendor dirs
17cache: 17cache:
@@ -24,8 +24,6 @@ cache:
24 - $HOME/.yarn-cache 24 - $HOME/.yarn-cache
25 25
26php: 26php:
27 - 5.6
28 - 7.0
29 - 7.1 27 - 7.1
30 - 7.2 28 - 7.2
31 - nightly 29 - nightly
@@ -41,7 +39,7 @@ env:
41matrix: 39matrix:
42 fast_finish: true 40 fast_finish: true
43 include: 41 include:
44 - php: 7.0 42 - php: 7.2
45 env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run ASSETS=build DB=sqlite 43 env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run ASSETS=build DB=sqlite
46 allow_failures: 44 allow_failures:
47 - php: nightly 45 - php: nightly
@@ -68,14 +66,13 @@ before_install:
68 - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi; 66 - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi;
69 67
70script: 68script:
71 - travis_wait bash composer install -o --no-interaction --no-progress --prefer-dist 69 - travis_wait bash composer install -o --no-interaction --no-progress --prefer-dist
70
72 - echo "travis_fold:start:prepare" 71 - echo "travis_fold:start:prepare"
73 - make prepare DB=$DB 72 - make prepare DB=$DB
74 - echo "travis_fold:end:prepare" 73 - echo "travis_fold:end:prepare"
75 74
76 - echo "travis_fold:start:fixtures" 75 - make fixtures
77 - php bin/console doctrine:fixtures:load --no-interaction --env=test
78 - echo "travis_fold:end:fixtures"
79 76
80 - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then ./bin/simple-phpunit -v ; fi; 77 - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then ./bin/simple-phpunit -v ; fi;
81 - if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix --verbose --dry-run ; fi; 78 - if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix --verbose --dry-run ; fi;