Skip to content

Commit 35f5524

Browse files
MrSyeewhikwon
authored andcommitted
Replace installing python3.6 command on Makefile (#41)
* Modify Makefile * Modify .travis.yml * Replace make command on .travis.yml
1 parent 596bd7f commit 35f5524

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ python:
66
- "2.7"
77

88
install:
9+
- make py36
910
- make dep
1011
- make dev
1112

Makefile

+9-5
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ format:
77

88
dev:
99
pip install -r scripts/requirements-dev.txt
10-
sudo add-apt-repository -y ppa:deadsnakes/ppa
11-
sudo apt-get update
12-
sudo apt-get install -y python3.6
13-
sudo apt-get install -y python3-pip
14-
python3.6 -m pip install black
10+
python3.6 -m pip install black # required python3.6 & python3-pip
1511
pre-commit install
1612

1713
dep:
1814
pip install -r scripts/requirements.txt
15+
16+
py36:
17+
# install python3.6 for black (only ubuntu)
18+
pip install -r scripts/requirements-dev.txt
19+
sudo add-apt-repository -y ppa:deadsnakes/ppa
20+
sudo apt-get update
21+
sudo apt-get install -y python3.6
22+
sudo apt-get install -y python3-pip

0 commit comments

Comments
 (0)