emxsys / android-worldwind-explorer

A geo-browser app for Android built from the NASA World Wind Android SDK
MIT License
1 stars 0 forks source link

Travis-CI Integration #1

Open emxsys opened 8 years ago

emxsys commented 8 years ago

Initial .travis.yml file: c11309dc97535bf4cd66691362e7d9271ed7142f

emxsys commented 8 years ago

Log output:

$ java -Xmx32m -version
java version "1.7.0_76"
Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)
$ javac -J-Xmx32m -version
javac 1.7.0_76
0.00s$ ./gradlew build connectedCheck
/home/travis/build.sh: line 45: ./gradlew: Permission denied
The command "./gradlew build connectedCheck" exited with 126.
Done. Your build exited with 1.
emxsys commented 8 years ago

Re: gradlew permission denied

Per: http://stackoverflow.com/questions/33820638/travis-yml-gradlew-permission-denied

Added execute permission to gradlew in git: 618b27bea0f1dd1bffa4714420616445f06d576c

Welcome to Portable Git (version 1.9.5-preview20141217)

Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.

bds@APACHE /c/Projects/Emxsys/android-worldwind-explorer (master)
$ git ls-tree HEAD
...
100644 blob 8a0b282aa6885fb573c106b3551f7275c5f17e8e    gradlew.bat
...

bds@APACHE /c/Projects/Emxsys/android-worldwind-explorer (master)
$ git update-index --chmod=+x gradlew

bds@APACHE /c/Projects/Emxsys/android-worldwind-explorer (master)
$ git commit -m "permission access for travis"
[master 618b27b] permission access for travis
warning: LF will be replaced by CRLF in gradlew.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in gradlew.
The file will have its original line endings in your working directory.
 1 file changed, 0 insertions(+), 0 deletions(-)
 mode change 100644 => 100755 gradlew

bds@APACHE /c/Projects/Emxsys/android-worldwind-explorer (master)
$ git ls-tree HEAD
...
100755 blob 9d82f78915133e1c35a6ea51252590fb38efac2f    gradlew
...