From f7e61aa321422e9707e9c762637e5bd467782d5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jean-No=C3=ABl=20Avila?= <jn.avila@free.fr>
Date: Thu, 3 Jan 2019 17:12:10 +0100
Subject: [PATCH] Move the installation of po4a into its own script

---
 .travis.yml        | 3 +--
 ci/install_po4a.sh | 4 ++++
 2 files changed, 5 insertions(+), 2 deletions(-)
 create mode 100644 ci/install_po4a.sh

diff --git a/.travis.yml b/.travis.yml
index 46d7d52..684bfb2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,8 +2,7 @@ language: ruby
 sudo: false
 cache: bundler
 before_install:
- - git clone https://github.com/jnavila/po4a.git
- - cd po4a && git checkout git_doc && cd ..
+ - sh ci/install_po4a.sh
 script:
  - sh ci/build.sh
 addons:
diff --git a/ci/install_po4a.sh b/ci/install_po4a.sh
new file mode 100644
index 0000000..05e3cae
--- /dev/null
+++ b/ci/install_po4a.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+git clone https://github.com/jnavila/po4a.git
+cd po4a && git checkout git_doc && cd ..
-- 
GitLab