-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
22 lines (22 loc) · 4.66 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
language: java
before_install:
- sudo apt-get update
- sudo apt-get install sshpass
install: mvn install
jdk:
- oraclejdk8
env:
global:
- secure: n3rudh9J8VfIb7mmYMM0MzHJQYcbfNa/0xWE+9dJrRMC6FqmAIv8FmjRcT7uTOgyNQzjL+Iv+5d9hDtiy4K+8+syecmKybXt7iuJdLXtppnLJ2bhzKs01+OXPtuiSPcrrHOTnv7vR4DF+/y+MyH0tqXAuCLswNMs0vrxnxfc6xsbTrERYS0vzi832p6DTbf+FlUZF/cmH1hSVh5hD7l477yX5cTJHQ5g3baJSOncl3yU3iDI/UQJRVQZ9+j7WW6uTeNnmwWZzdQ/jIVT26rn0sIlfs1fDnujXnEIYN5931xovaWCXulDnjEtldlgCQJfsqXQli9X3i7ubnckRTExK+R8SIlaAnIXz/VYogxcDS5zK3fUa+nBMj6uE25Y6XOHX/5VGd3Po/NiqS4ecWS1A8aRr3+EM21k9WRFbX4syXBU0tJue1yuYnPHJ9/yXQpEKAhjuqoy0Yi/GNP+i4YaLF7sKXMcI9it0t3b7026g+j2qtYDAzzStnLzTtiH+zcS9lsdJI8DnS8U4fGTCuOjKqDECQRFeswp7cfYRP43vQkxRkazIpMqDA268agjI7tTDdnUiTJ0qnphctCB/g5wjoz8PD/PxDUofqtS3Kn/js3glVt/cedu+HnNMVg4qzZuEnHFMTfFqeNOQfh4R2IoNWDpzgbZ1goUSQy0A1CLxdE=
- secure: nukP23KaPc9uwMSMu4TVHi4pGMhnkQFWdFI7QtCD8V/WkIX20iMGBz3vGOYHRSUq8EbNeQjt6UhAqv0zZTHR09ZIDpEBG5EKbrOYeEo4l4WFHV635iJ2b3cH+1lSjZWQIB52c19NGeLy7AD1CxcvJ6ksuFyFZpLo+UH6qe7uL4KyYcxeprPw+AiCl9Cgx8kQuzeIHjA/SaCQU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
after_success:
- sshpass -p "$password" ssh -o StrictHostKeyChecking=no $login@$IP ./killLabBot.sh
- sshpass -p "$password" scp -v -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
target/lab-bot-1.0.jar $login@$IP:/home/travis
- sshpass -p "$password" ssh -o StrictHostKeyChecking=no $login@$IP java -jar -Dserver.port=$PORT
lab-bot-1.0.jar &
- sshpass -p "$password" ssh -o StrictHostKeyChecking=no $login@$IP cd