Skip to content

Commit

Permalink
Add ci docker-compose setup
Browse files Browse the repository at this point in the history
  • Loading branch information
suryagaddipati committed Dec 16, 2015
1 parent 931da9c commit c776f03
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .ci.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,2 @@
environment:
language: java
language_versions: 1.7.0_80
packages:
- apache_maven-3.2.3
- node-v0.10.40

build:
before:
- npm config set registry https://registry.npmjs.org
- npm cache clear
- npm install
run:
- mvn install
<% if (GIT_URL =~ /groupon\/DotCi/ && DOTCI_TAG =~ /v?[0-9]+\.[0-9]+\.[0-9]+.*/ ) { %>
- mvn -DskipTests=true release:perform
<% } %>

plugins:
- artifacts: 'target/DotCi.*'
run:
ci:
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,12 @@ plugin:
BOWER_ALLOW_ROOT: true
MAVEN_OPTS: "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n"
command: mvn hpi:run

ci:
build: .
volumes_from:
- mavendata
volumes:
- .:/code
working_dir: /code
command: mvn test

0 comments on commit c776f03

Please sign in to comment.