From 891daae3ff482a3686a21a93139ac6909a687fd5 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Mon, 2 Jul 2018 16:40:23 +0200 Subject: [PATCH] Refactor building libyaml --- .travis.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 65abae92..a0f023b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,17 +23,16 @@ cache: # build libyaml before_script: -- >- - cd /tmp - && git clone https://github.com/yaml/libyaml.git -b 0.2.2-pre1 libyaml - && cd libyaml - && ./bootstrap - && ./configure - && make - && make test-all - && sudo make install - && sudo ldconfig - && cd "$TRAVIS_BUILD_DIR" +- pushd /tmp +- git clone https://github.com/yaml/libyaml.git -b 0.2.2-pre1 --depth=1 libyaml +- cd libyaml +- ./bootstrap +- ./configure +- make +- make test-all +- sudo make install +- sudo ldconfig +- popd install: - python -m pip install cython tox