Skip to content

Commit

Permalink
use codeception from composer
Browse files Browse the repository at this point in the history
  • Loading branch information
Gjero Krsteski committed Jan 5, 2017
1 parent e22c0a4 commit c738249
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/usr/bin/env bash

# run tests
docker exec -ti reactphp-pimf-api curl -LsS http://codeception.com/codecept.phar -o /usr/local/bin/codecept
docker exec -ti reactphp-pimf-api chmod a+x /usr/local/bin/codecept
tests_response=$(docker exec -ti reactphp-pimf-api codecept run --colors)
docker exec -ti reactphp-pimf-api php composer.phar require "codeception/codeception"
tests_response=$(docker exec -ti reactphp-pimf-api vendor/codeception/codeception/codecept run --colors)
test_ok=$(echo "$tests_response" | grep "OK" | wc -l)

echo "$tests_response"
Expand Down

0 comments on commit c738249

Please sign in to comment.