Commit Graph

383 Commits

Author SHA1 Message Date
Sven Fuchs
d441336573 expose logs on /job/:id/log.txt 2013-01-26 20:43:54 +01:00
Piotr Sarnacki
f2d768080f Return last builds on each branch for /builds?branches=true
This is a hack to fix travis-ci/travis-web#123 easier. A proper solution
would be to refactor how /branches work.
2013-01-26 01:12:47 +01:00
Piotr Sarnacki
46eefaf26d Fix syntax error 2013-01-26 00:02:15 +01:00
Piotr Sarnacki
c6e3c29a57 Load the data for integration tests upfront
We can do it, because we use :transaction strategy with DatabaseCleaner,
which starts transaction before each test and rollbacks after it. That
way data before each test is consistent.

The big advantage of such approach is that tests are fast now - we need
to only load Scenario data once.

One of the drawbacks, on the other hand, is that we need to always load
this data, even if no integration tests need running.

We can try to be smart about it and check if any integration tests are
loaded.
2013-01-26 00:00:42 +01:00
Konstantin Haase
85e8f27047 hotfix for strange bug 2013-01-25 22:13:33 +01:00
Konstantin Haase
bde974e182 Revert "disable newrelic"
This reverts commit 48cc0d366a.
2013-01-25 22:11:53 +01:00
Konstantin Haase
48cc0d366a disable newrelic 2013-01-25 11:40:41 +01:00
Konstantin Haase
01c585e189 I have no idea 2013-01-25 11:29:05 +01:00
Konstantin Haase
7195d48e7b downgrade sinatra 2013-01-24 22:15:55 +01:00
Piotr Sarnacki
36c40da55d Fix workers tests 2013-01-24 14:37:05 +01:00
Piotr Sarnacki
9ced671da5 Bump travis-core 2013-01-24 02:03:09 +01:00
Piotr Sarnacki
8c6d3bb9df Bump travis-core 2013-01-24 01:39:37 +01:00
Piotr Sarnacki
441f2a3091 Bump travis-core 2013-01-24 01:34:50 +01:00
Sven Fuchs
37dd125a8c start notifications 2013-01-23 22:17:40 +01:00
Sven Fuchs
6e598a4e4a Merge branch 'master' of github.com:travis-ci/travis-api 2013-01-23 22:06:27 +01:00
Sven Fuchs
2718bc7e98 bump travis-support 2013-01-23 22:04:37 +01:00
Piotr Sarnacki
8c5529a50a Revert "go back to unicorn for now"
Server is not the bottleneck and new relic does not work on unicorn.

This reverts commit 4a88b2d8c6.

Conflicts:

	Gemfile.lock
2013-01-23 21:05:36 +01:00
Sven Fuchs
cc8b4b0ef4 bump travis-core 2013-01-23 02:45:15 +01:00
Sven Fuchs
ee11e571b7 pass the api payload type for workers because we now do not return AR scopes any more 2013-01-23 02:44:30 +01:00
Sven Fuchs
11230cbb44 bump travis-core 2013-01-22 21:51:41 +01:00
Sven Fuchs
4a88b2d8c6 go back to unicorn for now 2013-01-22 21:27:38 +01:00
Konstantin Haase
593920ce81 add Pragma header for caches that do not understand Cache-Control, see #38 2013-01-21 21:18:16 +01:00
Konstantin Haase
1dd3324350 add /users/:id 2013-01-21 12:16:51 +01:00
Sven Fuchs
e693fc365c Merge branch 'master' of github.com:travis-ci/travis-api 2013-01-20 20:10:23 +01:00
Sven Fuchs
f925297ff4 bump travis-core 2013-01-20 20:09:52 +01:00
Piotr Sarnacki
a2018bc0f1 Explicitly load constants on Travis::Api
For some reason not loading it broke new relic notifications
2013-01-19 23:14:04 +01:00
Piotr Sarnacki
046b396b9e Ignore log dir 2013-01-19 22:36:58 +01:00
Piotr Sarnacki
f2e596ec89 Preload also models 2013-01-19 22:36:58 +01:00
Piotr Sarnacki
7bd90a4ef3 Use puma as a webserver, try to preload constants 2013-01-19 21:20:51 +01:00
Piotr Sarnacki
c1da6228a7 Use thin as a webserver (hopefully it fixes new relic 2013-01-19 19:41:23 +01:00
Piotr Sarnacki
e97dd437f6 Update newrelic 2013-01-19 18:26:55 +01:00
Sven Fuchs
e491461cfb remove branch 2013-01-19 13:46:40 +01:00
Sven Fuchs
92a3d17ebf use travis-core/sf-restart-event 2013-01-17 19:06:34 +01:00
Konstantin Haase
1efc3d77e8 update travis-core 2013-01-16 14:07:41 +01:00
Konstantin Haase
b358090376 Merge pull request #37 from travis-ci/plain-log
Plain log
2013-01-15 02:26:19 -08:00
Piotr Sarnacki
e6899b3ce6 Allow to remove ansi chars from plain text log 2013-01-15 02:27:06 +01:00
Piotr Sarnacki
70cd6ef092 Allow to download logs in plain text 2013-01-15 02:23:02 +01:00
Piotr Sarnacki
16499b30ff Bump travis-core 2013-01-14 23:20:00 +01:00
Konstantin Haase
01fe983a0c pass if scope does not match 2013-01-13 20:08:56 +01:00
Konstantin Haase
cc2a1cd50e do not require user scope for /auth/github 2013-01-11 17:48:30 +01:00
Konstantin Haase
3d6defe3b1 do not store token from /auth/github 2013-01-11 16:49:08 +01:00
Konstantin Haase
ada6ee0f2c fix scope check 2013-01-11 16:20:53 +01:00
Piotr Sarnacki
6cb512be30 Update AR to 3.2.11 2013-01-10 19:57:34 +01:00
Sven Fuchs
f7d9993090 Merge branch 'sf-log-aggregation'
Conflicts:
	Gemfile.lock
2013-01-09 12:49:34 +01:00
Konstantin Haase
761b9996d7 switch back to master for travis-core 2013-01-08 13:35:26 +01:00
Konstantin Haase
94d8a3cd2e fix failing spec 2013-01-07 21:02:00 +01:00
Konstantin Haase
9e0021e649 update core 2013-01-07 20:45:18 +01:00
Konstantin Haase
eb74d17d7b point to core branch 2013-01-07 20:18:13 +01:00
Sven Fuchs
0e55337548 comment out debugger since it does not compile on travis 2013-01-03 14:05:21 +01:00
Sven Fuchs
3f09d97f11 bump travis-core/sf-log-aggregation 2013-01-03 13:58:03 +01:00