diff options
author | Minenash <minenash@protonmail.com> | 2019-01-30 20:46:44 -0500 |
---|---|---|
committer | Minenash <minenash@protonmail.com> | 2019-01-30 20:46:44 -0500 |
commit | 91783efc87fe511190b54d35d92e90f703b1aeea (patch) | |
tree | 8bc2a08c848f1d19fde257961a9a8f35e4f294df /.travis.yml | |
parent | 39b8dbe4179a679226d4099a5ae3aba312ad90b4 (diff) | |
parent | f02d7b37537dcc50a84183c60c4defc4f994d954 (diff) |
Merge branch 'dev' of https://github.com/RedstonerServer/Modules.git into dev
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 7c7ca10..1ff7c59 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ --- before_script: - - "build=true;for file in $(find . -name \"*.java\");do module_scan=$(grep -E \"public +(final +)?class +\\w+ +(extends +.* +)?implements +(\\w+, *)?Module\" \"$file\");if [ -z \"$module_scan\" ];then continue;fi;diff=$(git diff master \"$file\");if [ ! -z \"$diff\" ];then scanned=$(echo \"$x\" | grep \"@Version\");if [ -z \"$scanned\" ];then echo -e \"Found modified module with unchanged version number $file\";build=false;fi;fi;done;if ! $build;then echo -e \"Found one or more unchanged version numbers. Failing build.\";exit 1;fi" +# - "build=true;for file in $(find . -name \"*.java\");do module_scan=$(grep -E \"public +(final +)?class +\\w+ +(extends +.* +)?implements +(\\w+, *)?Module\" \"$file\");if [ -z \"$module_scan\" ];then continue;fi;diff=$(git diff master \"$file\");if [ ! -z \"$diff\" ];then scanned=$(echo \"$x\" | grep \"@Version\");if [ -z \"$scanned\" ];then echo -e \"Found modified module with unchanged version number $file\";build=false;fi;fi;done;if ! $build;then echo -e \"Found one or more unchanged version numbers. Failing build.\";exit 1;fi" - "if find . -name \"*.java\" | xargs grep \"System.out.print\"; then echo \"Found one or more direct prints to console. Failing build.\"; exit 1; fi;" jdk: - openjdk8 |