Skip to content
Snippets Groups Projects
Commit 198fa648 authored by Richard Henck's avatar Richard Henck
Browse files

Introduce make file for running commands

This should make commands shorter, better readable and less error prone.
parent 4614c8c5
No related branches found
No related tags found
No related merge requests found
......@@ -4,12 +4,11 @@ services:
- docker
install:
- docker-compose -f docker/docker-compose.yml pull
- travis_wait docker-compose -f docker/docker-compose.yml up -d
- make run-detached
script:
- sleep 200
- docker-compose -f docker/docker-compose.yml exec testcenter-frontend ng test --watch=false
- make test-units
after-script:
- docker-compose -f docker/docker-compose.yml down
- make stop
Makefile 0 → 100644
run:
docker-compose -f docker/docker-compose.yml up
run-detached:
docker-compose -f docker/docker-compose.yml up -d
stop:
docker-compose -f docker/docker-compose.yml stop
down:
docker-compose -f docker/docker-compose.yml down
test: run-detached test-units test-e2e stop
test-units:
docker-compose -f docker/docker-compose.yml exec testcenter-frontend-dev ng test --watch=false
test-e2e:
docker-compose -f docker/docker-compose.yml exec testcenter-frontend-dev ng e2e --webdriver-update=false --port 4202
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment