From 35f5524cd79cfcc1717a3874d71ab5d488608947 Mon Sep 17 00:00:00 2001 From: Kyunghwan Kim Date: Sat, 30 Mar 2019 14:48:45 +0900 Subject: [PATCH] Replace installing python3.6 command on Makefile (#41) * Modify Makefile * Modify .travis.yml * Replace make command on .travis.yml --- .travis.yml | 1 + Makefile | 14 +++++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5fa95fd..f83df18 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ python: - "2.7" install: + - make py36 - make dep - make dev diff --git a/Makefile b/Makefile index eb27425..35662dd 100644 --- a/Makefile +++ b/Makefile @@ -7,12 +7,16 @@ format: dev: pip install -r scripts/requirements-dev.txt - sudo add-apt-repository -y ppa:deadsnakes/ppa - sudo apt-get update - sudo apt-get install -y python3.6 - sudo apt-get install -y python3-pip - python3.6 -m pip install black + python3.6 -m pip install black # required python3.6 & python3-pip pre-commit install dep: pip install -r scripts/requirements.txt + +py36: + # install python3.6 for black (only ubuntu) + pip install -r scripts/requirements-dev.txt + sudo add-apt-repository -y ppa:deadsnakes/ppa + sudo apt-get update + sudo apt-get install -y python3.6 + sudo apt-get install -y python3-pip \ No newline at end of file