Permission denied for build.sh file
问题 $ ./build.sh --quiet verify /home/travis/build.sh: line 59: ./build.sh: Permission denied. The command "./build.sh --quiet verify" exited with 126. 回答1: Looks like you need to check in the file build.sh with execution permissions. Please try the following from your own machine: git update-index --add --chmod=+x build.sh git commit -m 'Make build.sh executable' git push 回答2: You can grant the needed permission by adding this lines to the .travis.yml before_install: - chmod +x build.sh 回答3: Run