CartoDB/CartoDB-SQL-API

Update travis conf using Ubuntu 16

simon-contreras-deel opened this issue · 4 comments

Currently, we are using Ubuntu Precise (12.04) in travis. We must use Ubuntu Xenial (16.04)

I want to use docker in a Windshaft-carto similar way

  • local: you can run the test with or without docker
  • travis: the tests run with docker

The objective is docker and travis, because with them we can improve the execution time of the tests. In windshaft, travis needs ~35 seconds to pull the docker image and now, it needs more than 5 minutes to install the environment over an ubuntu image

After some changes, the tests are running with Xenial and in parallel (postgres 9.5 and 10) and Travis needs ~4 minutes (against the ~7 minutes used before)

After talking with infrastructure, the current stack to test is:

  • Xenial and postgres 10
  • Precise and postgres 9.5 (it will disappear soon)

So, we will use docker for xenial and we use the standard Travis configuration for Precise (there is not an official docker image of precise)

We will use the same configuration in Maps and SQL APIs

I am going to join this issue with #477 because the work is related