Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
fixup! [travis] added strings check
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertrand Dunogier committed Dec 2, 2016
1 parent ca2fdce commit 81feacb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ matrix:
- php: 5.6
env: BEFORE="./bin/travis/prepare_behat.sh" TEST_CMD="./bin/travis/runbehat.sh" AFTER_SUCCESS='echo "After success"' RUN_INSTALL=1 COMPOSE_FILE="doc/docker-compose/base-prod.yml:doc/docker-compose/selenium.yml" SYMFONY_ENV=behat SYMFONY_DEBUG=0
- php: 5.6
env: BEFORE="./bin/travis/prepare_behat.sh" TEST_CMD="./bin/travis/runcheckstrings.sh" AFTER_SUCCESS='echo "After success"' RUN_INSTALL=1 COMPOSE_FILE="$HOME/build/ezplatform/doc/docker-compose/base-dev.yml" SYMFONY_ENV=dev SYMFONY_DEBUG=1
env: BEFORE="./bin/travis/prepare_behat.sh" TEST_CMD="/bin/travis/runcheckstrings.sh" AFTER_SUCCESS='echo "After success"' RUN_INSTALL=1 COMPOSE_FILE="$HOME/build/ezplatform/doc/docker-compose/base-dev.yml" SYMFONY_ENV=dev SYMFONY_DEBUG=1
- env: BEFORE="./bin/travis/setupnode.sh" TEST_CMD="./bin/travis/runnode.sh" AFTER_SUCCESS="./bin/travis/generate_apidoc.sh"
- php: 7.0
env: BEFORE="./bin/travis/setupphpunit.sh" TEST_CMD="./vendor/bin/phpunit -c phpunit.xml" AFTER_SUCCESS='echo "After success"'
Expand Down
2 changes: 1 addition & 1 deletion bin/travis/prepare_behat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export BRANCH_BUILD_DIR=$TRAVIS_BUILD_DIR TRAVIS_BUILD_DIR="$HOME/build/ezplatfo
cd "$HOME/build"

# Checkout meta repo, change the branch and/or remote to use a different ezpublish branch/distro
git clone --depth 1 --single-branch --branch master https://github.com/ezsystems/ezplatform.git
git clone --depth 1 --single-branch --branch 1.6 https://github.com/ezsystems/ezplatform.git
cd ezplatform

# Install everything needed for behat testing, using our local branch of this repo
Expand Down
2 changes: 2 additions & 0 deletions bin/travis/runcheckstrings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -x

cd "$HOME/build/ezplatform"
ls -l
$(docker-compose exec --user www-data app sh -c "cd vendor/ezsystems/platform-ui-bundle; ./bin/travis/checkstrings.sh")

exit $?

0 comments on commit 81feacb

Please sign in to comment.