Skip to content

Commit ad1f847

Browse files
committed
Fix travis.yml parameters
1 parent b02db30 commit ad1f847

File tree

4 files changed

+11
-40
lines changed

4 files changed

+11
-40
lines changed

.coveragerc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[run]
2+
omit = *eggs*
3+
tests/w3c.py
4+
dev.py
5+
setup.py
6+
tests/*

.pytest_cache/v/cache/lastfailed

+1-21
Original file line numberDiff line numberDiff line change
@@ -1,21 +1 @@
1-
{
2-
"tests/test_module.py::test_blacklist": true,
3-
"tests/test_module.py::test_blacklist_add": true,
4-
"tests/test_module.py::test_blacklist_delete": true,
5-
"tests/test_module.py::test_blacklist_query_string": true,
6-
"tests/test_module.py::test_blacklist_reset": true,
7-
"tests/test_module.py::test_creating_soup": true,
8-
"tests/test_module.py::test_get_image_main_color": true,
9-
"tests/test_module.py::test_imageresult_resize": true,
10-
"tests/test_module.py::test_imageresult_show_image": true,
11-
"tests/test_module.py::test_imageresult_tofile": true,
12-
"tests/test_module.py::test_imageresult_url": true,
13-
"tests/test_module.py::test_imageresult_verify_invalid_file": true,
14-
"tests/test_module.py::test_imageresult_verify_valid_file": true,
15-
"tests/test_module.py::test_search_image_aspect_ratio": true,
16-
"tests/test_module.py::test_search_image_exact_size": true,
17-
"tests/test_module.py::test_search_image_returns_fewer_results_than_n_images": true,
18-
"tests/test_module.py::test_search_n_images_set_by_user": true,
19-
"tests/test_module.py::test_search_query_only_returns_100_images": true,
20-
"tests/test_module.py::test_search_with_image_size_parameter": true
21-
}
1+
{}

.travis.yml

+1-18
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,9 @@ python:
55
- 3.5
66
- 3.6
77

8-
addons:
9-
apt:
10-
sources:
11-
- google-chrome
12-
packages:
13-
- google-chrome-stable
14-
15-
before_install:
16-
#- sudo apt-get update && sudo apt-get --reinstall install -qq language-pack-en language-pack-pt
17-
- sudo apt-get install python3-dev
18-
#- sudo locale-gen --no-purge --lang pt_BR.UTF-8
19-
- wget -N https://chromedriver.storage.googleapis.com/2.32/chromedriver_linux64.zip
20-
- unzip chromedriver_linux64.zip -d /home/travis/build/rafpyprog/ImageSoup/tests/
21-
228
install:
239
- pip install -r requirements.txt
2410

25-
env:
26-
- CHROME_DRIVER_PATH=/home/travis/build/rafpyprog/ImageSoup/tests/chromedriver
27-
2811
script:
29-
- py.test tests/test.py --verbose --cov-report term --cov-report xml --cov imagesoup
12+
- py.test tests/test_module.py --verbose --cov-report term --cov-report xml --cov imagesoup
3013
- codecov

pytest.ini

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
1+
[pytest]
2+
testpaths = tests
3+
addopts = -v --cov-config .coveragerc --cov=./

0 commit comments

Comments
 (0)