Commit Graph

7 Commits

Author SHA1 Message Date
Piotr Sarnacki
2ccade46a4 Fix some of the issues with duration sometimes not showing up
* duration was not actually defined in Travis.Job, which may have caused
  bugs when combined with partial record loading (so for example it was
  ok on a refresh, but may have been broken on update)
* notStarted was not a dependency of duration
2014-08-14 22:39:49 +02:00
Piotr Sarnacki
6cb866408d Don't return finishedAt, startedAt, duration for not started jobs/builds 2014-06-20 16:05:45 +02:00
Piotr Sarnacki
e045ab7481 Remove check of model state in DurationCalculation
We no longer need this check, because it was only relevant with Ember
Data. Additionally it was a cause of a travis-ci/travis-ci#1992, because
of wrong syntax:

    unless someFunction false or true

will only check for a result of someFunction with an argument being the
result of `or` expression.
2014-06-20 15:47:37 +02:00
Aaron Hill
c1dcaa2715 Fix duration being incremented after a build/job is finished 2013-09-07 20:49:53 -04:00
Piotr Sarnacki
dddf66b8cf Don't refresh duration when record is loading 2013-05-15 17:23:52 +02:00
Piotr Sarnacki
2537daf0eb Try to fix error on setting duration when record is reloading 2013-03-28 23:42:32 +01:00
Sven Fuchs
7b47863014 extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00