Skip to content

Commit

Permalink
.travis.yml updated
Browse files Browse the repository at this point in the history
  • Loading branch information
kidunot89 committed Jun 1, 2019
1 parent 3823d5d commit 150783d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ branches:
only:
- develop
- release-v0.1.0
- release-v0.1.1

cache:
apt: true
Expand Down Expand Up @@ -55,13 +56,13 @@ before_script:
if [ ! -z "$WP_VERSION" ]; then
# Install and config Codeception
cp .env.dist .env
COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install-wp-tests
composer install-wp-tests
COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --prefer-source --no-interaction
if [ "$COVERAGE" == "1" ]; then
# Install Coveralls
mkdir -p build/logs
COMPOSER_MEMORY_LIMIT=-1 travis_retry composer require php-coveralls/php-coveralls
fi
COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --prefer-source --no-interaction
ls -al
fi
# Install PHP CodeSniffer and WPCS.
Expand Down

0 comments on commit 150783d

Please sign in to comment.