Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
43e4cf29
Commit
43e4cf29
authored
Feb 25, 2018
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweaked tests to run on stable versions
parent
7c7d81f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
.travis.yml
.travis.yml
+9
-7
composer.json
composer.json
+1
-2
No files found.
.travis.yml
View file @
43e4cf29
...
...
@@ -12,29 +12,31 @@ cache:
-
$HOME/.composer/cache/files
-
$HOME/.symfony-phpunit
before_script
:
before_install
:
-
phpenv config-rm xdebug.ini
# Twig 1.x
-
if [[ $TWIG_VERSION != 2.0 ]]; then sed -i 's/~1.8|~2.0/~1.8/g' composer.json; fi
# Symfony 2.8
-
if [[ $SYMFONY_DEPS_VERSION = 2.8 ]]; then sed -i 's/~2\.8|^3\.0/2.8.*
@dev
/g' composer.json; fi
-
if [[ $SYMFONY_DEPS_VERSION = 2.8 ]]; then sed -i 's/~2\.8|^3\.0/2.8.*/g' composer.json; fi
# Symfony 3.3
-
|
if [[ $SYMFONY_DEPS_VERSION = 3.3 ]]; then
sed -i 's/~2\.8|^3\.0/3.3.*
@dev
/g' composer.json;
composer require --
dev --
no-update symfony/web-link:3.3.*
sed -i 's/~2\.8|^3\.0/3.3.*/g' composer.json;
composer require --no-update symfony/web-link:3.3.*
fi
# Symfony 3.4
-
|
if [[ $SYMFONY_DEPS_VERSION = 3.4 ]]; then
sed -i 's/~2\.8|^3\.0/3.4.*
@dev
/g' composer.json;
composer require --
dev --no-update symfony/web-link:3.3
.*
sed -i 's/~2\.8|^3\.0/3.4.*/g' composer.json;
composer require --
no-update symfony/web-link:3.4
.*
fi
-
composer update --no-suggest
install
:
-
./vendor/bin/simple-phpunit install
-
./vendor/bin/simple-phpunit install
script
:
./vendor/bin/simple-phpunit
...
...
composer.json
View file @
43e4cf29
...
...
@@ -67,6 +67,5 @@
"branch-alias"
:
{
"dev-master"
:
"2.2.x-dev"
}
},
"minimum-stability"
:
"dev"
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment