Skip to content

Commit

Permalink
add settings for travis ci to deploy war to server on amazon ec2
Browse files Browse the repository at this point in the history
  • Loading branch information
henryyan committed Aug 18, 2012
1 parent 546eb54 commit 5367f21
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
@@ -1,3 +1,4 @@
language: java
jdk:
- oraclejdk7
install: mvn tomcat7:deploy -Ptravis-ci-aws
18 changes: 18 additions & 0 deletions pom.xml
Expand Up @@ -491,6 +491,24 @@
</build>
</profile>

<profile>
<id>travis-ci-aws</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.0-beta-1</version>
<configuration>
<username>admin</username>
<password>kad-tomcat-pwd</password>
<url>http://aws.kafeitu.me:8080/manager</url>
</configuration>
</plugin>
</plugins>
</build>
</profile>

<!-- 刷新开发环境数据库 -->
<profile>
<id>refresh-db</id>
Expand Down

0 comments on commit 5367f21

Please sign in to comment.