forked from suricats/lab-bot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
21 lines (21 loc) · 3.98 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: java
before_install:
- sudo apt-get update
- sudo apt-get install sshpass
install: mvn install
jdk:
- oraclejdk8
env:
global:
- secure: ZGNq1wr9aDTrhM5rX98ok1YXP/TZLLMYQ4qP4BUGKJzd6CRbWo+pMdjaAjNg7i5xjHF1D+rau33lgXnqfYxzFvRhPPw2M0KdQpCff0Zdz8r23XzUG0hAuq1IxhxMXbVSj40Nd8hhrjThe7KA7uXWuVKt5wPwFIh1Ml7Atx+rg3xqWVMdDs49zaocdcP1sCmcsuvwFFhf1zJKJUO7u8fBEAb5/WNVXt1QD/NnrUpETAyplvdpyMSXbS4SWGmqp/tkPTUBc1dbck13JjMOOIprF2szX7/5lZv6OGjtiiUgGLZsTBHVdwUtTIHjuhSKCIt01gsRciRFjNFMKfMkwPt1mkYFj7t5V0YDXBAItA1wLP+A472jcPFy4I34INVCbKbr/jIZa0l5QvYAj9941kiOicM8L6HZ1oQXW0E+ESVrGZUe4HAZFRoq80nxL2rZgIeVfxyPYK5E5t4CmR07mOmVDOC71vOwbYflH7jm5Xvxv1rzU84mWsIIwH9yBBoQo02AhrEvxW4dh3zsf5roi+XTVoBqq+PwuhwEqpHenMy/N3DNk7PBf7XLMsMn6bQ2mgpfEtVRArMmN9kNf3XfbM4ed/yYTUOshVJ3Hra6oun9Gmr4jM6tnY1qSOD1+dqTMRyCTAtdGi2vzhYB6vdkinR9hY2JfEuxcET3p1AwKWTC7LY=
- secure: rM/2RYj22YfcxEZDVpa3gfqCmMvUoQjUFROnBPbn/rejhl3v5xPMPFqCyYElP2YE4dMhiWIkDDX9b5ofp9AMxwuSwdGMuRsphFo9iY6XdZ88OyfLKH3VAgnRkapoHT0L4AoOPOk5WMrhVk8w2EVfmC9WiaQqdxURL8qTGlP2vO+OLmN1hSaoZCohL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aEy3zJwh76jFDGiC1+XzVy1QlcEiE4bOBVYHMo4RWZVjyCoKWDgIj7u32azW7Zk+1if6qwl7eFFnCnpIh+91soDHOBnx4fbV6BqhxLki+LLuFKvHZTPkfsrr4cR15ZKMp0iOFl5lJ6W/PY3f7zS1JvB6taJUaGFYMG79eWfQDanC4NwQR+B2I/dH4fvBHORYTtb+n80V+7gDjwpbdoGdo8tawgqeDvo463C6/AUEaGvU2HmFwYKfqvLOv3nYcRLmJ961zo7NWI78gInOwySsJslrfJMd1BABp4lyOAYczBEICoePn3fVJ9sCn/8PwwwL/7W40vr5LY2/4mK13trpskrqqg2qG1Lp40oHPMBqrD9eWmyY0f8Bw0+c5g7RaivgQIWelvivd+fawO+AOla8QkDzQckC2IxtR0Vv6ue8S8xYZaP5M=
after_success:
- sshpass -p "$password" ssh -o StrictHostKeyChecking=no travis@$IP ./killLabBot.sh
- sshpass -p "$password" scp -v -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
target/lab-bot-1.0.jar travis@$IP:/home/travis
- sshpass -p "$password" ssh -o StrictHostKeyChecking=no travis@$IP java -jar -Dserver.port=$PORT
lab-bot-1.0.jar &
- sshpass -p "$password" ssh -o StrictHostKeyChecking=no travis@$IP cd