diff options
author | Minenash <minenash@protonmail.com> | 2019-01-31 16:33:20 -0500 |
---|---|---|
committer | Minenash <minenash@protonmail.com> | 2019-01-31 16:33:20 -0500 |
commit | d06b13da9e04981edb4507b1339ec599ef435257 (patch) | |
tree | dfcb31799c3eed899dc75c6b15a1e024ccc823cd | |
parent | ea7236738c6962206981c49ab6074864f27f3978 (diff) | |
parent | 31d1ae29e7a15fe6650544ca381fe6c5e4e3d81b (diff) |
Merge branch 'dev' of https://github.com/RedstonerServer/Modules.git into dev
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 1ff7c59..68c263c 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 \"$diff\" | 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 |