-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
23 lines (23 loc) · 1.2 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: java
jdk:
- oraclejdk8
after_success:
- mvn site coveralls:jacoco
- git config --global user.email "[email protected]"
- git config --global user.name "Travis CI"
- git clone -q https://$GITHUB_USER:[email protected]/hgcummings/jarspec.git pages
- cd pages
- git checkout gh-pages
- rm -rf $JARSPEC_VERSION
- cp -r ../target/site $JARSPEC_VERSION
- cd $JARSPEC_VERSION
- find ./ -name '*.html' -type f -exec sed -i "/Generated by javadoc/d" {} \;
- git add -A
- git commit -m "Update maven generated site for version $JARSPEC_VERSION"
- git push -q origin gh-pages
env:
global:
- JARSPEC_VERSION=2.1.0-SNAPSHOT
- secure: M3NfQJJ4eAo6iLNH1+/fpOnPnb5LwnrvPfxsb8KeP9Cn5I6p0Ga3uBsHYgxEZu/DygocDNLdzZJ5WF3Z49wtHXPdnWB5Ui1s42sbXczLhGVDKu6VOo8Z0oMLTKSiRwb1LOMxOVCBa1FZo+Zv5HGFTJCyPs3B7w9Lla7S+13KCLw=
- secure: Umn7Lgz/h/6WW0Q0CMPCjEIDGcqARE6/GvN9/CFx576F/nICzWxhKicfyWUmEf2LXZ43/7qCyC58m0zP4q7gzUteCCSu/TL1YMuhu7DYwm535eTiKWDUpVJo0+dqdqU4e/97lcetqwL93LJNKmEUOwI3BVhp+5DCxZFLOGvZb8Y=
- secure: b+r3RPUvcyGJaLfl6MIbkM/bpdua1UOXcpB4eAdvR8J5P53BMST7hRbKQQoozS6BNxKoWsBLM6TE2pgLb/BFekehTXjA6Jfr1xOUa2A+6IHqJi9EPFrT7nYxwDwvqsjtYDnApzkv6oGhzYi1Yl2yaLAyEBM5Wx3LX/E1Y5jd0lQ=