我正在用React开发一个应用程序,使用Travis持续集成系统。在执行进程时,Travis抱怨警告,但无法编译,因为它指示:
Treating warnings as errors because process.env.CI = true.Most CI servers set it automatically. Failed to compile.我试着修改.travis.yml文件并添加规则warnings_are_errors: false,就像在另一个中指出的那样,但是它只是忽略了它,不起作用
当使用启动配置和启动"npm test“时,它在本地工作得很好。在travisCI上,它失败了(参见here) Tests exited with code: 1
The command "npm test --silent" exited with 1.这似乎是由于extensionTestsPath参数错误,请参见here --extensionTestsPath=/home/travis/build/jboss