Skip to content

Commit

Permalink
Merge pull request #127 from pantheon-systems/composer-update-9-5
Browse files Browse the repository at this point in the history
Update Composer dependencies to latest
  • Loading branch information
danielbachhuber authored Sep 5, 2018
2 parents dcd6680 + f15c007 commit 272405e
Show file tree
Hide file tree
Showing 3 changed files with 215 additions and 268 deletions.
18 changes: 5 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,21 @@ cache:

matrix:
include:
- php: 7.1
- php: 7.2
env: WP_VERSION=latest
- php: 7.0
env: WP_VERSION=latest
- php: 5.6
- php: 7.2
env: WP_VERSION=4.4
- php: 5.6
env: WP_VERSION=latest
- php: 5.6
- php: 7.2
env: WP_VERSION=trunk
- php: 5.6
- php: 7.2
env: WP_TRAVISCI=phpcs

before_script:
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- |
if [[ ! -z "$WP_VERSION" ]] ; then
bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
if [[ ${TRAVIS_PHP_VERSION:0:2} == "5." ]]; then
composer global require "phpunit/phpunit=4.8.*"
else
composer global require "phpunit/phpunit=5.7.*"
fi
composer global require "phpunit/phpunit=5.7.*"
fi
- |
if [[ "$WP_TRAVISCI" == "phpcs" ]] ; then
Expand Down
6 changes: 4 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ jobs:
working_directory: ~/pantheon-systems/wp-saml-auth
parallelism: 1
docker:
- image: circleci/php:5.6
- image: circleci/php:7.2
steps:
- checkout
- run: |
sudo apt-get install -y libmcrypt-dev
sudo docker-php-ext-install mcrypt
sudo pecl config-set php_ini "${PHP_INI_DIR}/php.ini"
sudo yes '' | sudo pecl install channel://pecl.php.net/mcrypt-1.0.1
sudo docker-php-ext-enable mcrypt
- run: echo -e "[Date]\ndate.timezone = UTC" | sudo tee /usr/local/etc/php/php.ini > /dev/null
- run: echo $(openssl rand -hex 8) > /tmp/WORDPRESS_ADMIN_PASSWORD
- run: |
Expand Down
Loading

0 comments on commit 272405e

Please sign in to comment.