Add mechanisms to reformant and check code style (#128)
[openjpeg.git] / tools / travis-ci / install.sh
index b1921844e93e7896954c6d9ca5ef37e1bb6ffbd6..2664eb036087bc447516160a895a713923367e6d 100755 (executable)
@@ -115,3 +115,7 @@ if [ "${OPJ_CI_SKIP_TESTS:-}" != "1" ]; then
                fi
        fi
 fi
+
+if [ "${OPJ_CI_CHECK_STYLE:-}" == "1" ]; then
+    pip install --user autopep8
+fi