Permission denied for build.sh file

后端 未结 4 1621
星月不相逢
星月不相逢 2021-01-30 10:31
$ ./build.sh --quiet verify

/home/travis/build.sh: line 59: ./build.sh: Permission denied. 

The command \"./build.sh --quiet verify\" exited with 126. 
4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-30 10:50

    You can grant the needed permission by adding this lines to the .travis.yml

    before_install:
      - chmod +x build.sh
    

提交回复
热议问题