Skip to content

Commit

Permalink
removed extension test cases which have been moved to ext repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
cebe committed Mar 23, 2015
1 parent 04e1da1 commit 1b58afc
Show file tree
Hide file tree
Showing 83 changed files with 4 additions and 5,314 deletions.
24 changes: 4 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ matrix:
- php: 7.0

services:
- redis-server
- memcached
- elasticsearch
- mongodb

# faster builds on new travis setup not using sudo
sudo: false
Expand All @@ -45,35 +42,23 @@ install:
- export PATH="$HOME/.composer/vendor/bin:$PATH"
# core framework:
- travis_retry composer install --prefer-dist --no-interaction
# install php extensions
- |
if (php --version | grep -i HipHop > /dev/null); then
echo "Skipping imagick and gmagick tests on HHVM"
else
pear config-set preferred_state beta
printf "\n" | pecl install imagick
# gmagick is not installed on travis currently
#printf "\n" | pecl install gmagick
fi
- tests/unit/data/travis/mongodb-setup.sh
- tests/unit/data/travis/apc-setup.sh
- tests/unit/data/travis/memcache-setup.sh
# - tests/unit/data/travis/cubrid-setup.sh
# codeception
- travis_retry composer global require "codeception/codeception=2.0.*" "codeception/specify=*" "codeception/verify=*"
- tests/unit/data/travis/cubrid-setup.sh

before_script:
# show some versions and env information
- echo 'elasticsearch version ' && curl http://localhost:9200/
- php -r "echo INTL_ICU_VERSION . \"\n\";"
- mysql --version
- psql --version

# initialize databases
- mysql -e 'CREATE DATABASE yiitest;';
- psql -U postgres -c 'CREATE DATABASE yiitest;';

# TODO: remove sphinx, when moved to extension
- tests/unit/data/travis/sphinx-setup.sh
- mongo yii2test --eval 'db.addUser("travis", "test");'

- |
if [ $TRAVIS_PHP_VERSION = '5.6' ]; then
PHPUNIT_FLAGS="--coverage-clover=coverage.clover"
Expand All @@ -86,7 +71,6 @@ script:
after_script:
- |
if [ $TRAVIS_PHP_VERSION = '5.6' ]; then
cd ../../..
travis_retry wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
fi
32 changes: 0 additions & 32 deletions tests/unit/data/ar/elasticsearch/ActiveRecord.php

This file was deleted.

76 changes: 0 additions & 76 deletions tests/unit/data/ar/elasticsearch/Animal.php

This file was deleted.

32 changes: 0 additions & 32 deletions tests/unit/data/ar/elasticsearch/Cat.php

This file was deleted.

90 changes: 0 additions & 90 deletions tests/unit/data/ar/elasticsearch/Customer.php

This file was deleted.

18 changes: 0 additions & 18 deletions tests/unit/data/ar/elasticsearch/CustomerQuery.php

This file was deleted.

32 changes: 0 additions & 32 deletions tests/unit/data/ar/elasticsearch/Dog.php

This file was deleted.

44 changes: 0 additions & 44 deletions tests/unit/data/ar/elasticsearch/Item.php

This file was deleted.

Loading

0 comments on commit 1b58afc

Please sign in to comment.