Browse Source

Fix the build problem that slipped it and build the jdk's with every push so it'll be in cache

MeFisto94 9 years ago
parent
commit
685953cbea
2 changed files with 9 additions and 7 deletions
  1. 8 6
      .travis.yml
  2. 1 1
      nbi/stub/ext/infra/build/products/jdk/build.properties

+ 8 - 6
.travis.yml

@@ -28,20 +28,22 @@ notifications:
 
 install:
   -  ./gradlew buildSdk
+  - cd jdks
+  - ./download-jdks.sh
   
 #script:
 #  - ./gradlew check
 #  - ./gradlew createZipDistribution
 
 before_deploy:
-  - cd jdks
-  - ./download-jdks.sh
-  - mv local/*/compiled/* .
-  - cd ../
+#  - cd jdks
+#  - ./download-jdks.sh
+#  - mv local/*/compiled/* .
+#  - cd ../
   - ant build-installers | awk '{printf("."); fflush(stdout)}'
   - rm -rf build/
-  - cd jdks
-  - mv *.bin *.zip *.exe local/*/compiled/
+#  - cd jdks
+#  - mv *.bin *.zip *.exe local/*/compiled/
 
 deploy:
   provider: releases

+ 1 - 1
nbi/stub/ext/infra/build/products/jdk/build.properties

@@ -105,7 +105,7 @@ product.data.length=1
 product.data.1.zip=true
 #normen
 product.data.1.path=../../../../../../../../jdks/jdk-macosx.zip
-product.data.sub.dir=../jdk
+product.data.sub.dir=jdk
 
 # modificator for the required disk space parameter; the core value will be the
 # sum of unzipped unstallation data files