Skip to content

Commit cfbab08

Browse files
author
ggeop
committed
Fix Travis Build
1 parent f4cfc3a commit cfbab08

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![CodeFactor](https://www.codefactor.io/repository/github/ggeop/python-ai-assistant/badge)](https://www.codefactor.io/repository/github/ggeop/Python-ai-assistant)
22
[![Maintainability](https://api.codeclimate.com/v1/badges/8c90305e22186cc2c9d5/maintainability)](https://codeclimate.com/github/ggeop/Python-ai-assistant/maintainability)
33
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4-
[![Build Status](https://travis-ci.org/ggeop/Python-ai-assistant.svg?branch=master)](https://travis-ci.org/ggeop/Python-ai-assistant)
4+
[![Build Status](https://app.travis-ci.com/ggeop/Python-ai-assistant.svg?branch=master)](https://travis-ci.org/ggeop/Python-ai-assistant)
55

66

77
![alt text](https://github.com/ggeop/Python-ai-assistant/blob/master/imgs/jarvis_logo.png)

requirements.txt

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ requests==2.21.0
3838
scikit-learn==0.21.2
3939
scipy==1.5.4
4040
six==1.12.0
41-
sklearn==0.0
4241
soupsieve==1.9.1
4342
SpeechRecognition==3.8.1
4443
speedtest-cli==2.1.1

setup.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ reset=`tput sgr0`
1313
# -----------------------------------
1414
# Python version compatibility check
1515
# -----------------------------------
16-
version=$(python -V 2>&1 | grep -Po '(?<=Python )(.+)')
16+
version=$(python3 -V 2>&1 | grep -Po '(?<=Python )(.+)')
1717
if [[ -z "$version" ]]
1818
then
1919
echo "${red} No Python 3.x.x in your system${reset}"
20+
exit 1
2021
else
2122
echo "${green} System Python version is: Python ${version} ${reset}"
2223
fi

0 commit comments

Comments
 (0)