Daniel Schädler
d6f97f550b
Add Coveralls relevant Variables to test docker container creation
2019-06-21 10:19:00 +02:00
Daniel Schädler
ebc97d3432
Removed unused services & variables
2019-06-20 23:04:30 +02:00
Daniel Schädler
a59e609d2c
Run tests within docker Dockerfile
2019-06-20 23:04:30 +02:00
Daniel Schädler
d137340da5
Run tests in image build one step above using latest tag
2019-06-20 22:46:26 +02:00
Daniel Schädler
a305a838fd
Run test within docker-in-docker container
2019-06-20 21:41:45 +02:00
Daniel Schädler
ae04eb0a87
Include test dependencies in test docker container
2019-06-20 20:43:19 +02:00
Daniel Schädler
9b929ce143
Include development dependencies in development docker container
2019-06-20 20:42:58 +02:00
Daniel Schädler
52d3965df0
Run tests in docker container
2019-06-20 20:28:53 +02:00
Daniel Schädler
c9c1b74e48
Swap build and test stage
2019-06-20 20:16:37 +02:00
Daniel Schädler
22bc968da6
Improve gitlab-ci.yml readability
2019-06-20 20:14:37 +02:00
Daniel Schädler
ed9f89c1ec
Ignore coverage and docker folder in docker build
2019-06-20 20:14:37 +02:00
Daniel Schädler
d209d02238
Add test & spec folder to docker container
...
It would have been nicer to also exclude the test and spec folder within
the production container, saving some space within that, but the docker
COPY statement doesn't allow for that without a workaround. So this is
what we will do for now I guess.
2019-06-20 20:14:37 +02:00
Daniel Schädler
f56b674d74
Build development & test containers in GitLab
2019-06-20 20:14:37 +02:00
Daniel Schädler
2c27738c60
Add test container Dockerfile
2019-06-20 20:14:37 +02:00
Daniel Schädler
3c6da87b76
Add development container Dockerfile
2019-06-20 20:14:37 +02:00
Daniel Schädler
893aec5e2d
Move Dockerfile to production folder
2019-06-20 18:41:36 +02:00
Daniel Schädler
dd6baf35b9
Copy Gemfiles in one step
2019-06-20 18:40:17 +02:00
Daniel Schädler
ab37922698
Don't cache apk add command
2019-06-20 18:40:00 +02:00
Daniel Schädler
687bec10a1
Merge pull request #61 from turniere/ticket/TURNIERE-234
...
Implement Group Stage end
2019-06-18 22:46:44 +02:00
Daniel Schädler
a2691b9f88
Cache group_score in variable in sort function
2019-06-18 22:35:17 +02:00
Daniel Schädler
945ab4981a
Use let more effectively
2019-06-18 22:35:17 +02:00
Daniel Schädler
fa9f47903b
Test trying to change the state to something other than :finished
2019-06-18 22:22:10 +02:00
Daniel Schädler
90d97962a3
Test trying to finish a group stage with unfinished matches
2019-06-18 22:22:10 +02:00
Daniel Schädler
fd8ff20ce8
Test for correct error on finishing already finished stages
2019-06-18 22:22:10 +02:00
Daniel Schädler
8873e7a95b
Test stage.teams returning [] on empty stage
2019-06-18 22:22:10 +02:00
Daniel Schädler
b28561043e
Implement stages controller (GET UPDATE)
2019-06-18 22:22:10 +02:00
Daniel Schädler
3dfeae8bf3
Test #teams_sorted_by_group_scores
2019-06-18 22:22:10 +02:00
Daniel Schädler
54ab1570b1
Sort teams more explicitly and in the right order
2019-06-18 22:22:10 +02:00
Daniel Schädler
15e2bd830f
Randomize points in group_scores factory
2019-06-18 22:22:10 +02:00
Daniel Schädler
4925ea9d83
Make teams added to PlayoffStage configurable
2019-06-18 22:22:10 +02:00
Daniel Schädler
748ac18b35
Implement finished_group_match factory
2019-06-18 22:22:10 +02:00
Daniel Schädler
4e72d015ff
Implement method to check if stage is over
2019-06-18 19:22:05 +02:00
Daniel Schädler
68efd3caae
Add factory for a finished_playoff_match
2019-06-18 19:22:05 +02:00
Daniel Schädler
bc0c7fddc3
Make match position randomizable
2019-06-18 19:22:05 +02:00
Daniel Schädler
88cbba440d
Implement methods to get teams sorted by their group scores
2019-06-18 19:22:05 +02:00
Daniel Schädler
c5780c2da3
Implement function to calculate the difference in points
2019-06-18 19:22:05 +02:00
Thor77
e8207c95c1
Merge pull request #66 from turniere/ticket/TURNIERE-256
...
Include bets in match serializer
2019-06-18 19:21:43 +02:00
Thor77
041ee4ab2c
Include bets in match resource
2019-06-18 18:51:55 +02:00
Thor77
f3b8fd4184
Use collection serializer
2019-06-18 18:51:55 +02:00
Thor77
123649a4f4
Add collection serializer for bets
2019-06-18 18:51:55 +02:00
Daniel Schädler
7955425c38
Merge pull request #65 from turniere/ticket/TURNIERE-255
...
Fix last Match not being stopped correctly
2019-06-18 14:39:32 +02:00
Daniel Schädler
386155a690
Fix last Match not being stopped correctly
2019-06-18 14:09:29 +02:00
Daniel Schädler
b57c2498c3
Merge pull request #63 from turniere/ticket/TURNIERE-253
...
Fix teams not associated with created tournament
2019-06-18 14:08:02 +02:00
Thor77
2baefb9ae6
Associate teams only on interactor success
2019-06-18 13:29:31 +02:00
Thor77
3109308817
Fix teams not associated with created tournament
...
when choosing a group stage
2019-06-18 13:29:31 +02:00
Daniel Schädler
f71179ee8a
Merge pull request #64 from turniere/ticket/TURNIERE-235
...
Verify E-Mail Adress of account creator
2019-06-18 12:59:55 +02:00
Thor77
4f10d23763
Add mailgun credentials
2019-06-18 12:28:57 +02:00
Thor77
8c1acb9cc7
Add configuration for mail delivery
2019-06-18 12:27:00 +02:00
Thor77
6640be1e9a
Add devise confirmable to user model
2019-06-18 12:27:00 +02:00
Thor77
fb2e7aa385
Add generated devise mailer views
2019-06-18 12:27:00 +02:00