Skip to content

Commit

Permalink
updated CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
schmunk42 committed Mar 23, 2016
1 parent 8f72e18 commit 07cd740
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ test:
- set +e
- docker-compose up -d
- docker-compose run --rm phpfpm setup.sh
- docker-compose run --rm phpfpm sh -c "YII_ENV=test codecept clean -c /app/vendor/dmstr/yii2-pages-module/codeception.yml"
- docker-compose run --rm -e YII_ENV=test phpfpm codecept run --html=_report.html unit; TESTS_EXIT_CODE=$?
- docker-compose run --rm -e YII_ENV=test phpfpm codecept run --html=_report.html acceptance prod"; TESTS_EXIT_CODE=$?
- docker-compose run --rm phpfpm codecept clean
- docker-compose run --rm -e YII_ENV=test phpfpm codecept run --html=_report.html unit,acceptance; TESTS_EXIT_CODE=$?
- set -e
- mv _output /tmp/${BUILD_PREFIX}
- exit $TESTS_EXIT_CODE
Expand Down

0 comments on commit 07cd740

Please sign in to comment.