Skip to content

Commit

Permalink
Added kernel 1.13 tests on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
vidarl committed Oct 11, 2018
1 parent 6eeaebb commit 2e6f57e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ matrix:
env: TEST_CONFIG="phpunit-integration-legacy-empty-db.xml" DB="postgresql" DATABASE="pgsql://postgres@localhost/testdb"
- php: 7.1
env: TEST_CONFIG="phpunit-integration-legacy-empty-db.xml" DB="mysql" DATABASE="mysql://root@localhost/testdb"
- php: 7.0
env: TEST_CONFIG="phpunit.xml" COMPOSER_REQUIRE="ezsystems/ezpublish-kernel:^6.13.6@dev"

# test only master (+ Pull requests)
branches:
Expand Down
3 changes: 3 additions & 0 deletions bin/.travis/prepare_unittest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ if [ "$DB" = "mysql" ] ; then
mysql -e "CREATE DATABASE IF NOT EXISTS testdb DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_unicode_ci;" -uroot
fi
if [ "$DB" = "postgresql" ] ; then psql -c "CREATE DATABASE testdb;" -U postgres ; psql -c "CREATE EXTENSION pgcrypto;" -U postgres testdb ; fi

if [ "$COMPOSER_REQUIRE" != "" ] ; then composer require --no-update $COMPOSER_REQUIRE ; fi
#travis_retry composer update --no-progress --no-interaction $COMPSER_ARGS

0 comments on commit 2e6f57e

Please sign in to comment.