Skip to content

Commit 80c2d94

Browse files
Switch back to Circle, which has the appropriate dependencies
1 parent c5c541e commit 80c2d94

File tree

2 files changed

+29
-49
lines changed

2 files changed

+29
-49
lines changed

.travis.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

circle.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
machine:
2+
php:
3+
version: 5.6.22
4+
environment:
5+
PATH: "$HOME/$CIRCLE_PROJECT_REPONAME/vendor/bin:$PATH"
6+
WP_CLI_BIN_DIR: "$HOME/$CIRCLE_PROJECT_REPONAME/vendor/bin"
7+
8+
dependencies:
9+
cache_directories:
10+
- ~/.composer/cache
11+
pre:
12+
# Set the PHP timezone so that Behat does not fail.
13+
- echo "date.timezone = 'US/Central'" > /opt/circleci/php/$(phpenv global)/etc/conf.d/wp-cli-timezone.ini
14+
# Disable xdebug, which makes Composer slower.
15+
- echo "" > /opt/circleci/php/$(phpenv global)/etc/conf.d/xdebug.ini
16+
# Increase memory limit
17+
- echo "memory_limit = 512M" > /opt/circleci/php/$(phpenv global)/etc/conf.d/memory.ini
18+
override:
19+
- composer require wp-cli/wp-cli:dev-master
20+
- composer install
21+
- bash bin/install-package-tests.sh
22+
23+
test:
24+
pre:
25+
- composer validate
26+
override:
27+
- WP_VERSION=latest bash bin/test.sh
28+
- rm -rf '/tmp/wp-cli-test core-download-cache'
29+
- WP_VERSION=trunk bash bin/test.sh

0 commit comments

Comments
 (0)