File tree 1 file changed +26
-0
lines changed
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash -e
2
+
3
+ if [ " x${ghprbPullId} " == " x" ]
4
+ then
5
+ exit 1
6
+ fi
7
+
8
+ ant -Djava.net.preferIPv4Stack=true -Dplatform=linux64 -Dlinux64=1 clean build test
9
+
10
+ ERRORS=` grep ' <error' ../app/test-bin/TEST-* .xml | wc -l`
11
+ if [ $ERRORS -ne 0 ] ;
12
+ then
13
+ exit $ERRORS
14
+ fi
15
+
16
+ VERSION=" PR-${ghprbPullId} "
17
+
18
+ ant -Djava.net.preferIPv4Stack=true -Dplatform=linux32 -Dlinux32=1 -Dversion=" ${VERSION} " dist
19
+ ant -Djava.net.preferIPv4Stack=true -Dplatform=linux64 -Dlinux64=1 -Dversion=" ${VERSION} " dist
20
+ ant -Djava.net.preferIPv4Stack=true -Dplatform=windows -Dwindows=1 -Dversion=" ${VERSION} " dist
21
+ ant -Djava.net.preferIPv4Stack=true -Dplatform=macosx -Dmacosx=1 -Dversion=" ${VERSION} " dist
22
+
23
+ echo " http://downloads.arduino.cc/javaide/pull_requests/arduino-${VERSION} -linux32.zip"
24
+ echo " http://downloads.arduino.cc/javaide/pull_requests/arduino-${VERSION} -linux64.zip"
25
+ echo " http://downloads.arduino.cc/javaide/pull_requests/arduino-${VERSION} -windows.zip"
26
+ echo " http://downloads.arduino.cc/javaide/pull_requests/arduino-${VERSION} -macosx.zip"
You can’t perform that action at this time.
0 commit comments