Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Feb 7, 2020
1 parent 33ff1f9 commit e6ec5fa
Showing 1 changed file with 20 additions and 28 deletions.
48 changes: 20 additions & 28 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,12 @@
dist: xenial
language: php

stages:
- Code style analysis
- test
- Phar build
# - Code coverage analysis

php:
- 7.1.3
- 7.2
- 7.3
- 7.4
- nightly

env:
global:
- DEFAULT_COMPOSER_FLAGS="--no-interaction --no-suggest --prefer-source"
- XDEBUG="false"
# generated with travis encrypt -r vimeo/psalm --org GITHUB_TOKEN="<secret oauth token>"
- secure: Ayjp10v6IWeJX3ThWvPxlv0gkuTuvu30lsdQCjop+vS0Kv+6/IEOdSOxtm0tEWacq9EFCViWRKh9zxiwPtoi0wxGdzGGws+UtIJxew6Vy8HDCEH8nY4k50eElKUWI4YhVbiSdZEZ+Bd9kO0qGEBH9iWh8Tc8MP2Hklx7lOf+zUTSm8vpv+idcCxwGCvQMaMc5NhfnkgGq95/UU3iOvCi5/wkIFnSnoccxmZE2zsxI1e355ipa0uoe8/Ml6vK0NrZ0aBZwZfItsIuhRcL4Cm5kyar+Ao/mn9Zw8CHbfESrIMomRI7ZxwPNFj+sR/wCvEasIGHRxH8B9F4d8SmAoHR1CrmM/zyWRon73CfRb56M4VGG1hyqTr1GYHpBgZKSOYA8TKyOjD8EHGvevfHpJoGVNxf0+vAfdizlVJvkYhzSz/VjpOZO8rfOct4deNcpCVuVGg5uOGeg5P7coVniGHLHTm3JozK9Ia+ZLePtr3l/NuoW5dXVF1fdroCyQS2X0VSXALnnTPzcIQYsmpCk8yJ8uXorxj4dJHhstyll1jemJjxT7HJ1ASPUOTsPu9u9EoBDHQxOGa5b2/7chyV+EhrYV899RKZ4xEPzpC619sWgtZJci3oLcebU1BY42pIr94UqtwcJKhriwV72VpKvCG/eqOKLhXq355TYRx2dK05a5w=
jobs:
- DEPS="high"
- DEPS="low"

cache:
directories:
Expand All @@ -48,30 +32,38 @@ script:
- vendor/bin/phpunit
- ./psalm

# Base test matrix (php/env)
matrix:
fast_finish: true
allow_failures:
- php: nightly

# Additional stages
jobs:
fast_finish: true
include:
- stage: Code style analysis
php: 7.3
- php: 7.1.3
env: DEPS="low"

- php: 7.1.3
env: DEPS="high"

- php: 7.4
env: DEPS="low"

- php: 7.4
env: DEPS="high"

- php: nightly
env: DEPS="high"
allow_failures: true

- php: 7.3
env: DEPS="high"
script:
- vendor/bin/phpcs

- stage: Ensure no transient used dependencies
php: 7.3
- php: 7.3
env: DEPS="high"
script:
- composer require --dev maglnet/composer-require-checker:^2.0.0
- ./vendor/bin/composer-require-checker check --config-file=bin/composer-require-checker-config.json ./composer.json

- stage: Phar build
php: 7.3
- php: 7.3
env: DEPS="high"
script: bin/build-phar.sh
deploy:
Expand Down

0 comments on commit e6ec5fa

Please sign in to comment.