Skip to content

Commit fd565e6

Browse files
committed
[skip appveyor] -y flag for repo add
1 parent 2fc6a9a commit fd565e6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ before_install:
1515

1616
install:
1717
- sudo apt-get install cmake
18-
- sudo add-apt-repository ppa:fkrull/deadsnakes
19-
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then sudo apt-get install python2.7-dev; fi
20-
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then sudo apt-get install python3.5-dev; fi
18+
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then sudo add-apt-repository ppa:fkrull/deadsnakes -y; fi
19+
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then sudo apt-get install libpython3.5-dev; fi
2120
- python -m pip install --upgrade pip
2221
- pip install -r requirements.txt
2322
- cd opencv

0 commit comments

Comments
 (0)