-
Notifications
You must be signed in to change notification settings - Fork 39
/
.travis.yml
24 lines (19 loc) · 1.15 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
24
language: java
jdk:
- openjdk7
env:
global:
- secure: "Si+FksmD04Qev09hkYqWYN4rYQderrvMt6/kZBTgEek/v4Bd8QVCcbkZemYQCLnfhm94fNJDVrvpbrZhkeSWhCXKnnsYMH9oaxQWSd4aUI55V9QAseVAWMod5d2TSD7kTIo1owV5xh9LHTLmwnv4v6WmV3dSHSQc0zQh09dFC/M="
- secure: "IVcJyf13GCwLkpYKqygwTH9f3EG1YiqdmXWPCt5d9DXKKLjbSq/MFQ/nwdgfgfJAsgrSXN0I+6fIf8/INtI4YcKTpzAblXdeAkWdVrD4xpRSC7TpEHdEGMWEBtSWzJy8b92F2cxCXuk/QPDK4d8/QuelkFD9C9IztmgSqq7fQQg="
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq sshpass
- echo "graphwalker.org,62.75.191.213 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAtt0gW2tGz1f60qs4mSteVq+AhWAw7xYak3+UegaWSwxVh9MpqG/JDRF5CpzTiUvyXlhlAYZ6kCVT5G4zXNNC7ty9UuA5D2PicGOWsF73KGLu6GbmRQTrTMf5ji/IkrFoJysNaXPIbqkwX0TB3DoTyXfE/HoP2JSGwVi5tztUaOc=" > ~/.ssh/known_hosts
install:
mvn install -DskipTests=true -Dgpg.skip=true
script:
mvn site package javadoc:javadoc -Dgpg.skip=true
after_success:
- cp target/graphwalker-*.jar target/graphwalker.jar
- sshpass -p $GW_PASSWORD scp target/graphwalker*.jar $GW_USER@graphwalker.org:/var/www/old_site/data/uploads/
- sshpass -p $GW_PASSWORD scp -r target/site/ $GW_USER@graphwalker.org:/var/www/old_site/data/uploads/