Skip to content

Commit 2d253ee

Browse files
authored
[Travis] Don't test symfony-demo with Symfony 2.7.0 (Codeception#3584)
Don't test symfony-demo with Symfony 2.7.0
1 parent 3dfc247 commit 2d253ee

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ install:
7373
- '[[ "$TRAVIS_PHP_VERSION" == "5.4" ]] || [[ "$TRAVIS_PHP_VERSION" == "5.5" ]] || git clone -q -b codeception-2.2 https://github.com/janhenkgerritsen/codeception-lumen-sample.git frameworks-lumen'
7474
- '[[ "$TRAVIS_PHP_VERSION" == "5.4" ]] || [[ "$TRAVIS_PHP_VERSION" == "5.5" ]] || composer update -d frameworks-lumen $composer_parameters'
7575
# Symfony
76-
- git clone -q -b 2.1 https://github.com/Codeception/symfony-demo.git frameworks-symfony
77-
- '[[ -z "$SYMFONY" ]] || composer require -d frameworks-symfony symfony/symfony=~$SYMFONY --no-update'
78-
- '[[ -z "$SYMFONY" ]] || composer update -d frameworks-symfony $composer_parameters'
76+
- '[[ -z "$SYMFONY" ]] || [[ "$SYMFONY" == "2.7.0" ]] || git clone -q -b 2.1 https://github.com/Codeception/symfony-demo.git frameworks-symfony'
77+
- '[[ -z "$SYMFONY" ]] || [[ "$SYMFONY" == "2.7.0" ]] || composer require -d frameworks-symfony symfony/symfony=~$SYMFONY --no-update'
78+
- '[[ -z "$SYMFONY" ]] || [[ "$SYMFONY" == "2.7.0" ]] || composer update -d frameworks-symfony $composer_parameters'
7979
# ZF1
8080
- git clone -q -b 2.2-simple-file-upload --recursive https://github.com/Naktibalda/codeception-zf1-tests frameworks-zf1
8181
- composer update -d frameworks-zf1 $composer_parameters
@@ -118,15 +118,15 @@ before_script:
118118
- '[[ "$TRAVIS_PHP_VERSION" == "5.4" ]] || [[ "$TRAVIS_PHP_VERSION" == "5.5" ]] || touch frameworks-lumen/storage/testing.sqlite'
119119
- '[[ "$TRAVIS_PHP_VERSION" == "5.4" ]] || [[ "$TRAVIS_PHP_VERSION" == "5.5" ]] || php frameworks-lumen/artisan migrate --database=testing --force'
120120
# Symfony
121-
- '[[ -z "$SYMFONY" ]] || php frameworks-symfony/app/console doctrine:schema:create -n --env test'
122-
- '[[ -z "$SYMFONY" ]] || php frameworks-symfony/app/console doctrine:fixtures:load -n --env test'
121+
- '[[ -z "$SYMFONY" ]] || [[ "$SYMFONY" == "2.7.0" ]] || php frameworks-symfony/app/console doctrine:schema:create -n --env test'
122+
- '[[ -z "$SYMFONY" ]] || [[ "$SYMFONY" == "2.7.0" ]] || php frameworks-symfony/app/console doctrine:fixtures:load -n --env test'
123123
# ZF2
124124
- "mysql -e 'create database zf2_test;'"
125125
- php frameworks-zf2/vendor/bin/doctrine-module orm:schema-tool:create
126126
# Build
127127
- php codecept build -c frameworks-yii-basic
128128
- '[[ "$TRAVIS_PHP_VERSION" == "hhvm" ]] || php codecept build -c frameworks-phalcon'
129-
- '[[ -z "$SYMFONY" ]] || php codecept build -c frameworks-symfony/src/AppBundle'
129+
- '[[ -z "$SYMFONY" ]] || [[ "$SYMFONY" == "2.7.0" ]] || php codecept build -c frameworks-symfony/src/AppBundle'
130130
- '[[ "$TRAVIS_PHP_VERSION" == "5.4" ]] || [[ "$TRAVIS_PHP_VERSION" == "5.5" ]] || php codecept build -c frameworks-l5'
131131
- '[[ "$TRAVIS_PHP_VERSION" == "5.4" ]] || [[ "$TRAVIS_PHP_VERSION" == "5.5" ]] || php codecept build -c frameworks-lumen'
132132
- php codecept build -c frameworks-zf1
@@ -144,7 +144,7 @@ script:
144144
- '[[ "$TRAVIS_PHP_VERSION" == "5.4" ]] || [[ "$TRAVIS_PHP_VERSION" == "5.5" ]] || php codecept run -c frameworks-l5' # Laravel5 Tests
145145
- '[[ "$TRAVIS_PHP_VERSION" == "5.4" ]] || [[ "$TRAVIS_PHP_VERSION" == "5.5" ]] || php codecept run -c frameworks-lumen' # Lumen Tests
146146
- '[[ "$TRAVIS_PHP_VERSION" == "hhvm" ]] || php codecept run functional -c frameworks-phalcon' # Phalcon Tests
147-
- '[[ -z "$SYMFONY" ]] || php codecept run functional -c frameworks-symfony/src/AppBundle '# Symfony Tests
147+
- '[[ -z "$SYMFONY" ]] || [[ "$SYMFONY" == "2.7.0" ]] || php codecept run functional -c frameworks-symfony/src/AppBundle '# Symfony Tests
148148
- php codecept run functional -c frameworks-zf1 # ZF1 Tests
149149
- php codecept run -c frameworks-zf2 functional,doctrine # ZF2 Tests
150150
- '[[ "$TRAVIS_PHP_VERSION" == "5.4" ]] || php codecept run functional -c frameworks-zend-expressive' # Zend Expressive Tests

0 commit comments

Comments
 (0)