From e926badeb0133b8618ca2e2e3b89c4cf74002584 Mon Sep 17 00:00:00 2001 From: Burak Yucesoy Date: Mon, 15 May 2017 18:03:39 +0300 Subject: [PATCH 1/2] Use cached PostgreSQL build to reduce testing time With this PR, we started to cache custom compiled PostgreSQL builds. If there are no new commits to the related PostgreSQL branches, we will use already compiled binaries to reduce testing time. --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 10f6b0c45..46b474b69 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,10 @@ sudo: required dist: trusty language: c -cache: apt +cache: + apt: true + directories: + - /home/travis/postgresql branches: except: [ /^open-.*$/ ] env: @@ -14,7 +17,7 @@ env: - PGVERSION=9.5 - PGVERSION=9.6 before_install: - - git clone -b v0.6.1 --depth 1 https://github.com/citusdata/tools.git + - git clone -b use_cached_postgresql_build --depth 1 https://github.com/citusdata/tools.git - sudo make -C tools install - setup_apt - curl https://install.citusdata.com/community/deb.sh | sudo bash From 54203a47248dcdd890135e1d733c6c75d7e9b3bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Y=C3=BCcesoy?= Date: Mon, 15 May 2017 23:15:14 +0300 Subject: [PATCH 2/2] test --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 46b474b69..ad8a509f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ env: global: # GitHub API token for citus-bot - secure: degV+qb2xHiea7E2dGk/WLvmYjq4ZsBn6ZPko+YhRcNm2GRXRaU3FqMBIecPtsEEFYaL5GwCQq/CgBf9aQxgDQ+t2CrmtGTtI9AGAbVBl//amNeJOoLe6QvrDpSQX5pUxwDLCng8cvoQK7ZxGlNCzDKiu4Ep4DUWgQVpauJkQ9nHjtSMZvUqCoI9h1lBy9Mxh7YFfHPW2PAXCqpV4VlNiIYF84UKdX3MXKLy9Yt0JBSNTWLZFp/fFw2qNwzFvN94rF3ZvFSD7Wp6CIhT6R5/6k6Zx8YQIrjWhgm6OVy1osUA8X7W79h2ISPqKqMNVJkjJ+N8S4xuQU0kfejnQ74Ie/uJiHCmbW5W2TjpL1aU3FQpPsGwR8h0rSeHhJAJzd8Ma+z8vvnnQHDyvetPBB0WgA/VMQCu8uEutyfYw2hDmB2+l2dDwkViaI7R95bReAGrpd5uNqklAXuR7yOeArz0ZZpHV0aZHGcNBxznMaZExSVZ5DVPW38UPn7Kgse8BnOWeLgnA1hJVp6CmBCtu+hKYt+atBPgRbM8IUINnKKZf/Sk6HeJIJZs662jD8/X93vFi0ZtyV2jEKJpouWw8j4vrGGsaDzTEUcyJgDqZj7tPJptM2L5B3BcFJmkGj2HO3N+LGDarJrVBBSiEjhTgx4NnLiKZnUbMx547mCRg2akk2w= - # During pull request builds (not push builds), use custom-built PostgreSQL + # During pull request builds (not push builds), use custom-built PostgreSQLx - USE_CUSTOM_PG="${TRAVIS_PULL_REQUEST_SHA}" matrix: - PGVERSION=9.5