Testing SaltStack formulas on Travis-ci

| by jpic | ci saltstack travis-ci
SaltStack is an Open Source DevOp tool to automate administration of a computer (server or desktop) infrastructure, typically but not limited to, developing in-house PaaS. Travis-ci is an Open Source Continuous Integration platform and online-hosted for free for Open Source projects. This article targets SaltStack formula developers who wants to have CI enabled and of course every SaltStack user should be a formula developer wanting CI. Overview First things first, we have to test the /pillar. Read More

Speed up your travis-ci builds with container based infrastructure

| by jpic | travis-ci python django linux
Travis-ci just released container based infrastructure for open source repository (free users). We tried it with our apps, and you can see we had some performance increase, even on database-intensive jobs: django-autocomplete-light normal build takes around 1 hour and 35 minutes while it takes rather 1 hour and 22 minutes with container based build]( so that's around a 10% build speed increase, pretty cool right ? read on ;) django-cities-light normal build takes around 5 hours and 45 minutes, on travis-container it takes around 3 hours and 30 minutes ! Read More

RuntimeError: Failed to shutdown the live test server in 2 seconds. The server might be stuck or generating a slow response.

| by jpic | selenium python django travis-ci
Another problem you might run into when testing Django apps with Selenium on Travis: ====================================================================== ERROR: tearDownClass (autocomplete_light.tests.widget.WidgetTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/travis/build/yourlabs/django-autocomplete-light/autocomplete_light/tests/", line 29, in tearDownClass super(WidgetTestCase, cls).tearDownClass() File "/home/travis/virtualenv/python2.7/local/lib/python2.7/site-packages/django/test/", line 1148, in tearDownClass cls.server_thread.join() File "/home/travis/virtualenv/python2.7/local/lib/python2.7/site-packages/django/test/", line 1072, in join self.httpd.shutdown() File "/home/travis/virtualenv/python2.7/local/lib/python2.7/site-packages/django/test/", line 959, in shutdown "Failed to shutdown the live test server in 2 seconds. The " RuntimeError: Failed to shutdown the live test server in 2 seconds. Read More
1 of 1