Skip to content

Commit

Permalink
Start the php server after composer install so the web/ directory exi…
Browse files Browse the repository at this point in the history
…sts.
  • Loading branch information
becw committed Apr 11, 2018
1 parent 5a19fa9 commit 6d22b5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ dependencies:
- echo "memory_limit=256M" > "/opt/circleci/php/$(phpenv version-name)/etc/conf.d/memory.ini"
# Disable XDebug
- rm "/opt/circleci/php/$(phpenv global)/etc/conf.d/xdebug.ini"
# Start the PHP development server
- nohup php -S localhost:8000 -t web/ > "${CIRCLE_ARTIFACTS}/phpd.log" 2>&1 &

override:
- composer install --no-interaction
Expand All @@ -34,6 +32,8 @@ dependencies:

test:
pre:
# Start the PHP development server
- nohup php -S localhost:8000 -t web/ > "${CIRCLE_ARTIFACTS}/phpd.log" 2>&1 &
- >
vendor/bin/phing -f vendor/palantirnet/the-build/tasks/install.xml
-Dbuild.artifact_mode=symlink
Expand Down

0 comments on commit 6d22b5e

Please sign in to comment.