Commit Graph

27 Commits

Author SHA1 Message Date
Piotr Sarnacki
ec8d93f8cf Refactor Travis.Helpers to prepare it for ES6 modules
In order to make it easy to switch to ember-cli I'm starting changing a series
of refactorings that will prepare the codebase to the switch. Here I'm:

1. Assign all of the external objects and functions to variables in order to
   make it easy to change them to imports in the feature
2. Extract functions from Travis.Helpers into local functions and create the
   object at the end of file to prepare it for exporting
2015-01-14 12:55:17 +01:00
Piotr Sarnacki
2a64382563 Use Urls.githubCommit for githubify 2015-01-09 11:18:02 +01:00
Sven Fuchs
2aba520512 more hardcoded github.com urls 2014-10-13 14:46:36 +02:00
Mathias Meyer
22130f8328 Wrap commit body into a pre tag.
This follows the idea that the message can contain useful things
like ASCII diagrams or wonderful art.

Related to travis-ci/travis-ci#2003.
2014-05-03 19:59:20 +02:00
Mathias Meyer
42539d94de Set whitespace handling via CSS.
Relevant for travis-ci/travis-ci#2003.
2014-05-03 18:04:31 +02:00
Mathias Meyer
2a40ba59a7 Replace leading whitespace in commit message.
This allows for proper indentation to display ASCII art.

Fixes travis-ci/travis-ci#2003
2014-05-03 17:59:01 +02:00
Hiro Asari
4e24d9835a HTTPS everywhere for github.com 2014-01-11 15:11:03 -05:00
Hiro Asari
2b65686636 Rearrange github link helpers
So that regex and transformation appear together.
2014-01-11 13:42:34 -05:00
Hiro Asari
9ed3e66206 Detect and link-ify github commit ref in log
Addresses https://github.com/travis-ci/travis-ci/issues/1470
2014-01-11 13:40:23 -05:00
Hiro Asari
ade98c7e44 Polish build matrix table header
Instead of uniformly camelizing the headers, use a map of headers
each build matrix key should display in the table
2013-12-15 00:50:48 -05:00
Piotr Sarnacki
a252e34771 Fix github mention regexp
While merging a pull request I haven't noticed that the first part of
regexp will always match a beginning of the line.
2013-12-11 14:56:15 +01:00
David Celis
aeebe85308 Do not githubify sign-off messages
Don't successfully `githubify` strings prepended with an `@` symbol if
what's matched actually resembles an email address. @mentions should
only be githubified if there is a word boundary before it.

This fixes travis-ci/travis-ci#1591

Signed-off-by: David Celis <me@davidcel.is>
2013-12-10 12:54:06 -08:00
Lukasz Sarnacki
226c5bb42b More github references replaced with links
Github links will be created for following references:
* @username
* gh-1 (for issue #1)
2013-09-01 13:43:21 +02:00
Lukasz Sarnacki
4ab6a90b66 Simplified code in github refference linking 2013-09-01 13:36:33 +02:00
Lukasz Sarnacki
44c7c627fb Replace github refference with link travis-ci/travis-ci#1266
Github issue refference is now replaced with github issue url.
This covers following refferences:
* #Num
* User#Num
* User/Project#Num
2013-09-01 13:36:24 +02:00
Piotr Sarnacki
ca835f5a1c Use CONFIG_KEYS in formatConfig 2013-06-06 19:06:32 +02:00
Piotr Sarnacki
299e227342 Add go config to the matrix 2013-06-06 15:39:39 +02:00
Piotr Sarnacki
c7561ee13e Properly display matrix keys when build does not have all keys
When additional items are included into matrix via 'matrix.include' key
in .travis.yml they may contain config keys, which are not available on
build.

For example build can contain only 'rvm' key, but we may add the
following include:

    matrix:
      include:
        - rvm: '2.0.0'
          env: 'FOO=bar'

In such case, we need to take into account also keys from additional
job, not only from the build.

(closes #172)
2013-04-06 01:48:32 +02:00
Piotr Sarnacki
8d9b36c0a6 Remove Date hack, which was used for timeago 2013-03-06 14:43:13 +01:00
Piotr Sarnacki
712389efdb Fix more specs 2013-03-04 03:46:04 +01:00
Piotr Sarnacki
553495c56c Add @svenfuchs' log reimplementation 2013-02-22 17:00:50 +01:00
Piotr Sarnacki
e90c21c9a5 Normalize rvm version to float if it comes as an integer 2013-02-11 15:59:52 +01:00
Sven Fuchs
395918a406 use states instead of result 2012-12-09 15:16:27 +01:00
Piotr Sarnacki
26def07b9d Show 'compiler' in Config and in matrix 2012-12-02 04:01:40 +01:00
Piotr Sarnacki
2575218ddb Fix logs to always point to build or job view 2012-10-12 18:32:25 +02:00
Sven Fuchs
847c120bd7 fuck yeah, flash messages 2012-10-09 15:16:54 +02:00
Sven Fuchs
7b47863014 extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00