diff options
author | 2020-01-01 03:53:53 +0100 | |
---|---|---|
committer | 2020-01-01 03:53:53 +0100 | |
commit | b5fa49d674d37829d3de2912c3928c82aa8f3243 (patch) | |
tree | a59b646623df62aa493e15d544fbe8b0ab50a411 | |
parent | Don't cache docker images in travis anymore (diff) | |
download | packages-5-b5fa49d674d37829d3de2912c3928c82aa8f3243.tar.gz packages-5-b5fa49d674d37829d3de2912c3928c82aa8f3243.tar.bz2 packages-5-b5fa49d674d37829d3de2912c3928c82aa8f3243.zip |
Run the test in travis
The docker-compose.test.yml file is used to run the tests within
travis.
Signed-off-by: Max Magorsch <max@magorsch.de>
-rw-r--r-- | .travis/travis.docker.yml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/.travis/travis.docker.yml b/.travis/travis.docker.yml index df70138..96317c0 100644 --- a/.travis/travis.docker.yml +++ b/.travis/travis.docker.yml @@ -7,15 +7,15 @@ before_install: - docker pull mmagorsc/gentoo-rails:latest && docker tag mmagorsc/gentoo-rails:latest gentoo/rails:latest - docker build -t gentoo/gpackages:latest . -## TODO Use either DockerHub or Github Packages and uncomment this block afterwards -## Publish the docker image and run the tests -#script: -# # publish on dockerhub -# - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin -# # publish on github packages -# - docker login -u USERNAME -p TOKEN docker.pkg.github.com -# - docker tag pgo gentoo/gpackages:latest -# - docker push gentoo/gpackages:latest -# - echo "Published docker image" -# # Run tests -# #- docker-compose -f docker-compose.test.yml up --exit-code-from http-serving
\ No newline at end of file +script: + # Run tests + - docker-compose -f docker-compose.test.yml up --exit-code-from http-serving + ## TODO Use either DockerHub or Github Packages and uncomment this block afterwards + ## Publish the docker image and run the tests + ## publish on dockerhub + #- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin + ## publish on github packages + #- docker login -u USERNAME -p TOKEN docker.pkg.github.com + #- docker tag pgo gentoo/gpackages:latest + #- docker push gentoo/gpackages:latest + #- echo "Published docker image" |