Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tests] [CI] [Dependencies] Refactored Travis config to use simple-phpunit and remove phpunit Composer dependency #1029

Merged
merged 32 commits into from Jan 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
790ef6e
Test travis config to run unit-tests
sebastianblum Dec 28, 2017
eef8051
Tests folder from whitelist exclude removed
sebastianblum Dec 28, 2017
0cda3f8
another try
sebastianblum Dec 28, 2017
37c5f87
revert
sebastianblum Dec 28, 2017
65f2a3e
comment travis bash out
sebastianblum Dec 28, 2017
ceea65b
test composer autoloader
sebastianblum Dec 28, 2017
880e70a
test autoloading in composer.json
sebastianblum Dec 28, 2017
c48bd49
removed coverage report
sebastianblum Dec 28, 2017
c78cd3e
removed exclude tests
sebastianblum Dec 28, 2017
af5728b
test travis config
sebastianblum Dec 28, 2017
972f493
Addis listener
sebastianblum Dec 28, 2017
2aff7fe
next test
sebastianblum Jan 2, 2018
068e192
Update .travis.yml
sebastianblum Jan 2, 2018
6c24212
Update .travis.yml
sebastianblum Jan 2, 2018
137ca8d
Update phpunit.xml.dist
sebastianblum Jan 2, 2018
c5deec7
Update .travis.yml
sebastianblum Jan 2, 2018
e3daaca
Update .travis.yml
sebastianblum Jan 2, 2018
fdc65be
Update phpunit.xml.dist
sebastianblum Jan 2, 2018
36cb620
Update .travis.yml
sebastianblum Jan 2, 2018
9279d99
Update phpunit.xml.dist
sebastianblum Jan 2, 2018
c96d9c3
back to initial phpunit.xml.dist
sebastianblum Jan 2, 2018
9c82ed2
revert composer.json
sebastianblum Jan 2, 2018
e0cadd2
go back to initial .travis.yml without matrix
sebastianblum Jan 2, 2018
e9c1978
require phpunit 6.3
sebastianblum Jan 2, 2018
acdbe2b
Update phpunit.xml.dist
sebastianblum Jan 2, 2018
d8fb705
phpunit dependency is not needed
sebastianblum Jan 2, 2018
b4f281a
revert
sebastianblum Jan 2, 2018
01528c9
Update .travis.yml
sebastianblum Jan 2, 2018
ab7abbb
test symfony dev-master & php nightly
sebastianblum Jan 2, 2018
20c9cbd
added dev-master version
sebastianblum Jan 2, 2018
9bd5fc1
refactored travis.yml
sebastianblum Jan 2, 2018
dccb674
Update .travis.yml
sebastianblum Jan 2, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
33 changes: 21 additions & 12 deletions .travis.yml
Expand Up @@ -2,32 +2,41 @@ sudo: false

language: php

php:
- 7.1
- 7.2

cache:
directories:
- $HOME/.composer/cache/files
- $HOME/.composer/cache

env:
global:
- SYMFONY_DEPRECATIONS_HELPER=weak
- SYMFONY_VERSION=3.4.*
- SYMFONY_DEPRECATIONS_HELPER="weak_vendors"

matrix:
include:
- env: SYMFONY_VERSION=4.0.*
fast_finish: true

include:
- php: 7.1
env: SYMFONY_VERSION=4.0.*
- php: 7.1
env: SYMFONY_VERSION=3.4.*
- php: 7.2
env: SYMFONY_VERSION=4.0.*
- php: 7.2
env: SYMFONY_VERSION=3.4.*
- php: 7.2
env: SYMFONY_VERSION=dev-master
- php: nightly
env: SYMFONY_VERSION=4.0.*
allow_failures:
- env: SYMFONY_VERSION=dev-master
- php: nightly

before_install:
- bash ./.travis/exec-before.bash

install:
- travis_retry composer require "symfony/symfony:${SYMFONY_VERSION}" $COMPOSER_FLAGS

script:
- ./vendor/bin/simple-phpunit -vvv || ./vendor/bin/phpunit -vvv
- ./vendor/bin/simple-phpunit -vvv

after_script:
- bash ./.travis/exec-after.bash
- bash ./.travis/exec-after.bash
1 change: 0 additions & 1 deletion composer.json
Expand Up @@ -38,7 +38,6 @@
"enqueue/enqueue-bundle": "^0.7|^0.8",
"friendsofphp/php-cs-fixer": "^1.0|^2.0",
"league/flysystem": "^1.0",
"phpunit/phpunit": "^6.0",
"psr/log": "^1.0",
"satooshi/php-coveralls": "^1.0",
"symfony/browser-kit": "^3.0|^4.0",
Expand Down