Skip to content

Commit

Permalink
fixed build config
Browse files Browse the repository at this point in the history
  • Loading branch information
schmunk42 committed Jan 18, 2017
1 parent 2913644 commit 2d315b5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ after_script:
stages:
- build
- test
- cleanup

build:
stage: build
script:
- docker-compose build

test:
test:quick:
stage: test
script:
- docker-compose run --rm php vendor/bin/phpunit -v --exclude base,caching,db,i18n,log,mutex,rbac,validators,web
Expand All @@ -43,3 +44,11 @@ test:db:cubrid:
# TODO: retry/wait for db
- sleep 10
- docker-compose run --rm php /project/vendor/bin/phpunit -v --group cubrid

cleanup:
script:
- docker-compose down -v
- export COMPOSE_PROJECT_NAME=buildpipeline${CI_PIPELINE_ID}cubrid
- docker-compose down -v
- export COMPOSE_PROJECT_NAME=buildpipeline${CI_PIPELINE_ID}mssql
- docker-compose down -v

0 comments on commit 2d315b5

Please sign in to comment.