Skip to content

Commit f0ad56c

Browse files
committed
Add travis build and artifact support
The 'builds' branch will contain any successful builds by travis (not PRs though)
1 parent bfc3b3e commit f0ad56c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
language: java
3+
before_script: 'wget https://cdn.oc.tc/woodhouse && export DATE=`date +%Y-%m-%d` && export COMMIT=`git rev-parse HEAD`'
4+
script: mvn clean package -P mcp-final-unix
5+
after_success: 'rm -Rf target/classes && ./woodhouse publish --branch builds --message "Adding build files for $COMMIT" --auth-token-env AUTH_TOKEN ProjectAres/Client target:$DATE/$COMMIT'
6+
env:
7+
global:
8+
- secure: "JCLrGM0XjQQgDKDxHhZDcKu8Zf9axEVvI+i2/dTAElIj/zQ5JovEruoyrwMb\nktzAFLntC/Z48f2A+toxSXUZa/psG54z91utizrpcfF1rabRpwQ0bKRDnWvH\n3jdF14taqYR52ye6DoH6mMwC/n7zieaPFAPB48U6qlxItwIv8z0="

0 commit comments

Comments
 (0)