travis: set known hosts using travis config

define_list_fix
Kirill Vainer 9 years ago
parent 4aa614108e
commit f4f65620ec
  1. 3
      .travis.yml
  2. 3
      build.gradle
  3. 1
      private/known_hosts
  4. 6
      upload.gradle

@ -1,6 +1,9 @@
language: java
sudo: false
addons:
ssh_known_hosts: updates.jmonkeyengine.org
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock

@ -1,5 +1,3 @@
import org.gradle.api.artifacts.*
buildscript {
repositories {
jcenter()
@ -12,7 +10,6 @@ buildscript {
apply plugin: 'base'
apply from: file('version.gradle')
apply from: file('upload.gradle')
// This is applied to all sub projects
subprojects {

@ -1 +0,0 @@
updates.jmonkeyengine.org ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAuUaUztifV0v33iMJovEil0RPwx34RvpBXVPgfKJ/nwSvQzxo1VE9SZWzpgmX8QTvGBcRnxtm63iiHhlJe1Cid0m9SH3JSvBiR0CqHs+xRaEzjOM8/3Kp7DBZB3yuf/p3oecyCb48epbvQG7R5LhaW6JPyDkYMYebkpZuulf8d4qlbMCQlU2olWdbIO39BF8pxlcBei3n1C7jXpIgh6LFhCzNDH/kwYP3XLzuVgccy14gpiUfdeQ2JR0U/7yR1VJgTkVTBXiPUsdHfjXdIiShLq8OdtFlltZXe6nrUpFMvsi/hKcIhaZqhRz/5oAx0BPsercSHQQaKaRTqchAfd8ZeQ==

@ -1,6 +0,0 @@
task copySshKnownHosts(type: Copy) {
from 'private/known_hosts'
into System.properties['user.home'] + '/.ssh'
}
uploadArchives.dependsOn copySshKnownHosts
Loading…
Cancel
Save