From 52348a4daa4e850c96f50e2d697fdc267b149732 Mon Sep 17 00:00:00 2001 From: Juhani Numminen Date: Sun, 28 Jul 2019 17:36:56 +0300 Subject: [PATCH] travis: Simplify pip install step --- .travis.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 79efaa5d..a2f7c8ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,11 +24,8 @@ install: - sudo cpanm --notest Capture::Tiny IPC::System::Simple - sudo cpanm Code::TidyAll::Plugin::Flake8 Perl::Tidy Test::Code::TidyAll Test::Differences Test::TrailingSpace - export PY_MODS='attrs configobj pycotap pysol-cards random2 setuptools six' - - "`which python3` -m pip install --upgrade flake8 flake8-import-order $PY_MODS" - - "sudo /usr/bin/python3 -m pip install --upgrade $PY_MODS || true" - - "sudo `which python2` -m pip install --upgrade $PY_MODS" - - which python - - which python2 + - sudo pip3 install --upgrade $PY_MODS flake8 flake8-import-order + - sudo pip2 install --upgrade $PY_MODS language: generic matrix: include: