Skip to content

Commit

Permalink
give shorter names to ci scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
scribu committed Aug 14, 2013
1 parent cef5beb commit ec9c530
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ matrix:
- php: 5.5
env: WP_VERSION=3.4.2

before_script: ./bin/ci/install_dependencies.sh
before_script: ./bin/ci/prepare.sh

script: ./bin/ci/run_build.sh
script: ./bin/ci/build.sh

notifications:
email:
Expand Down
6 changes: 3 additions & 3 deletions bin/ci/run_build.sh → bin/ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

set -ex

# Run the unit tests
phpunit

# Run the functional tests against the Phar file

# Create the Phar file
WP_CLI_BIN_DIR=/tmp/wp-cli-phar

mkdir -p $WP_CLI_BIN_DIR
php -dphar.readonly=0 utils/make-phar.php wp-cli.phar --quiet
mv wp-cli.phar $WP_CLI_BIN_DIR/wp
chmod +x $WP_CLI_BIN_DIR/wp

# Run the functional tests
WP_CLI_BIN_DIR=$WP_CLI_BIN_DIR php behat.phar --format progress
File renamed without changes.

0 comments on commit ec9c530

Please sign in to comment.