1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-30 12:14:20 +01:00

Config CircleCI workflow (#22590)

* Add mypyrc to control typing check, add mypy to circle

* Add translation upload circlci job
This commit is contained in:
Jason Hu
2019-04-01 07:12:59 -07:00
committed by GitHub
parent 6829ecad9d
commit de4d1f2c19
5 changed files with 66 additions and 13 deletions
+2 -1
View File
@@ -26,7 +26,8 @@ LANG_ISO=en
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
if [ "${CURRENT_BRANCH-}" != "dev" ] && [ "${TRAVIS_BRANCH-}" != "dev" ] ; then
# Check Travis and CircleCI environment as well
if [ "${CURRENT_BRANCH-}" != "dev" ] && [ "${TRAVIS_BRANCH-}" != "dev" ] && [ "${CIRCLE_BRANCH-}" != "dev" ]; then
echo "Please only run the translations upload script from a clean checkout of dev."
exit 1
fi