diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 21 |
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 @@ | |||
1 | language: php | 1 | language: php |
2 | 2 | ||
3 | services: | 3 | services: |
4 | - rabbitmq | 4 | - rabbitmq |
5 | - redis | 5 | - redis |
6 | 6 | ||
7 | # faster builds on docker-container setup | 7 | # faster builds on docker-container setup |
8 | sudo: false | 8 | sudo: false |
9 | 9 | ||
10 | # used for HHVM | 10 | # used for HHVM |
11 | addons: | 11 | addons: |
12 | apt: | 12 | apt: |
13 | packages: | 13 | packages: |
14 | - tidy | 14 | - tidy |
15 | 15 | ||
16 | # cache vendor dirs | 16 | # cache vendor dirs |
17 | cache: | 17 | cache: |
@@ -24,8 +24,6 @@ cache: | |||
24 | - $HOME/.yarn-cache | 24 | - $HOME/.yarn-cache |
25 | 25 | ||
26 | php: | 26 | php: |
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: | |||
41 | matrix: | 39 | matrix: |
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 | ||
70 | script: | 68 | script: |
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; |