travis-ci

Travis-CI: Do not fail build because of linter warnings

余生颓废 提交于 2021-01-24 08:11:39
问题 I have an old python project that I am trying to progressively clean up using flake8 (to warn about PEP8 issues). I use Travis for continuous integration and want my build to fail if any unit test fails. However, I do not want my build to fail simply because flake8 produced a warning (e.g., about something minor like trailing white space). How do I configure Travis to output flake8 warnings (so that I can resolve them as I have time) without causing them to fail the build? My .travis.yml is

Travis-CI: Do not fail build because of linter warnings

元气小坏坏 提交于 2021-01-24 08:08:18
问题 I have an old python project that I am trying to progressively clean up using flake8 (to warn about PEP8 issues). I use Travis for continuous integration and want my build to fail if any unit test fails. However, I do not want my build to fail simply because flake8 produced a warning (e.g., about something minor like trailing white space). How do I configure Travis to output flake8 warnings (so that I can resolve them as I have time) without causing them to fail the build? My .travis.yml is

Travis-CI: Do not fail build because of linter warnings

徘徊边缘 提交于 2021-01-24 08:07:16
问题 I have an old python project that I am trying to progressively clean up using flake8 (to warn about PEP8 issues). I use Travis for continuous integration and want my build to fail if any unit test fails. However, I do not want my build to fail simply because flake8 produced a warning (e.g., about something minor like trailing white space). How do I configure Travis to output flake8 warnings (so that I can resolve them as I have time) without causing them to fail the build? My .travis.yml is

Travis-CI: Do not fail build because of linter warnings

对着背影说爱祢 提交于 2021-01-24 08:06:14
问题 I have an old python project that I am trying to progressively clean up using flake8 (to warn about PEP8 issues). I use Travis for continuous integration and want my build to fail if any unit test fails. However, I do not want my build to fail simply because flake8 produced a warning (e.g., about something minor like trailing white space). How do I configure Travis to output flake8 warnings (so that I can resolve them as I have time) without causing them to fail the build? My .travis.yml is

Travis-CI: Do not fail build because of linter warnings

邮差的信 提交于 2021-01-24 08:06:09
问题 I have an old python project that I am trying to progressively clean up using flake8 (to warn about PEP8 issues). I use Travis for continuous integration and want my build to fail if any unit test fails. However, I do not want my build to fail simply because flake8 produced a warning (e.g., about something minor like trailing white space). How do I configure Travis to output flake8 warnings (so that I can resolve them as I have time) without causing them to fail the build? My .travis.yml is

Allow non-zero return codes in Travis CI .yml

放肆的年华 提交于 2021-01-18 10:12:25
问题 I am trying to setup Travis CI to build a latex report. When building the latex report some steps have to be repeated and so the first time they are called there is a non-zero return code. My travis.yml so far is language: R before_install: - tlmgr install index script: - latex report - bibtex report - latex report - latex report - dvipdf report.dvi report.pdf However in Travis Docs it states If script returns a non-zero exit code, the build is failed, but continues to run before being marked

Allow non-zero return codes in Travis CI .yml

ぃ、小莉子 提交于 2021-01-18 10:09:46
问题 I am trying to setup Travis CI to build a latex report. When building the latex report some steps have to be repeated and so the first time they are called there is a non-zero return code. My travis.yml so far is language: R before_install: - tlmgr install index script: - latex report - bibtex report - latex report - latex report - dvipdf report.dvi report.pdf However in Travis Docs it states If script returns a non-zero exit code, the build is failed, but continues to run before being marked

Could not find or load main class org.apache.maven.wrapper.MavenWrapperMain

馋奶兔 提交于 2020-12-01 08:21:47
问题 I have a spring boot project here: https://github.com/jcasbin/jcasbin-springboot-plugin. I encountered the following error in Travis CI: shell 3.43s$ ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V /home/travis/build/jcasbin/jcasbin-springboot-plugin Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m Error: Could not find or load main class org.apache.maven.wrapper.MavenWrapperMain The command "eval ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V " failed. Retrying, 2