Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.travis.yml 611 B
dist: bionic

services:
  - docker

install:
  - make init-dev-config
  - make run-detached

script:
  - sleep 200
  - make test-unit
  - make test-e2e

after_script:
  - make stop

after_success:
  - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin;
    docker build -t iqbberlin/testcenter-frontend:latest -f docker/Dockerfile .;
    docker push iqbberlin/testcenter-frontend:latest;
    if [ "$TRAVIS_TAG" ]; then
      docker tag iqbberlin/testcenter-frontend:latest iqbberlin/testcenter-frontend:$TRAVIS_TAG;
      docker push iqbberlin/testcenter-frontend:$TRAVIS_TAG;
    fi