diff --git a/platypush/backend/travisci.py b/platypush/backend/travisci.py index 4b134d4b..e86b2833 100644 --- a/platypush/backend/travisci.py +++ b/platypush/backend/travisci.py @@ -65,6 +65,9 @@ class TravisciBackend(Backend): last_build = builds[0] last_build_finished_at = self._convert_iso_date(last_build.get('finished_at', 0)) + if not last_build_finished_at: + return + if self._last_build_finished_at and last_build_finished_at <= self._last_build_finished_at: return