Skip to content
Snippets Groups Projects
Commit eaac9c0e authored by Mirco Nasuti's avatar Mirco Nasuti
Browse files

do not use captain with circleci for the moment

parent f001b22e
No related branches found
No related tags found
No related merge requests found
machine:
services:
- docker
dependencies:
pre:
- curl -sL https://github.com/harbur/captain/releases/download/v0.0.1/captain > ~/bin/captain
- chmod u+x ~/bin/captain
test:
pre:
- ./tests/pre-test-run.sh
override:
- ./test.sh
deployment:
hub:
branch: master
commands:
- docker login -u $DOCKER_HUB_USER -p $DOCKER_HUB_PASS -e $DOCKER_HUB_EMAIL
- captain push --branch-tags=false --commit-tags=true
# - mvn sonar:sonar -Dsonar.login=$SONAR_KEY # Need SonarQube back on a public URL
- ./tests/test-run.sh
post:
- ./tests/tests/post-test-run.sh
# deployment:
# hub:
# branch: master
# commands:
# - docker login -u $DOCKER_HUB_USER -p $DOCKER_HUB_PASS -e $DOCKER_HUB_EMAIL
# - docker push --branch-tags=false --commit-tags=true
# - mvn sonar:sonar -Dsonar.login=$SONAR_KEY # Need SonarQube back on a public URL
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment