WPISoftEng / CS3733-Starter-Code

2 stars 67 forks source link

Fix Travis CI build issue (build fail b/c permission denied) #11

Closed GregoryConrad closed 4 years ago

GregoryConrad commented 4 years ago

One of my teammates encountered a build fail from Travis CI:

/home/travis/.travis/functions: line 351: ./gradlew: Permission denied
The command "eval ./gradlew assemble " failed 3 times.
The command "./gradlew assemble" failed and exited with 126 during .
Your build has been stopped.

This PR should fix said issue by making gradlew executable before it is executed in Travis CI

ArchdukeTim commented 4 years ago

I prefer git update-index --chmod=+x gradlew because it will fix it for everyone locally, rather than just travis.

ArchdukeTim commented 4 years ago

Changed my mind, because if you run through intellij, gradle won't complain about permissions