From eb4c0fce900e2468b94bb9e9498af626bb66c039 Mon Sep 17 00:00:00 2001 From: Bohdan Date: Thu, 11 Apr 2019 13:24:40 +0300 Subject: [PATCH] Fix ci (#25) Signed-off-by: Bogdan Vaneev --- .travis.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4a82afc..6937036 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,10 @@ matrix: packages: - gcc-5 - g++-5 + - git + - python3 + - python3-pip + - python3-setuptools env: - _CC=gcc-5 - _CXX=g++-5 @@ -37,6 +41,10 @@ matrix: - llvm-toolchain-trusty-4.0 packages: - clang-4.0 + - git + - python3 + - python3-pip + - python3-setuptools env: - _CC=clang-4.0 - _CXX=clang++-4.0 @@ -53,6 +61,16 @@ matrix: - _CC=clang - _CXX=clang++ +install: + - | + # install python pip3 deps + if [ "$TRAVIS_OS_NAME" = "linux" ]; then + pyenv global 3.6 + elif [ "$TRAVIS_OS_NAME" = "osx" ]; then + pip3 install --user pyyaml + fi + pip3 install --user requests gitpython cmake + script: - export CC=$_CC - export CXX=$_CXX