-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from peterhudec/better-tests
Better tests
- Loading branch information
Showing
4 changed files
with
76 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
language: python | ||
install: | ||
- pip install tox | ||
sudo: required | ||
services: | ||
- docker | ||
before_install: | ||
- docker build -t chromedriver-installer . | ||
script: | ||
- tox | ||
- docker run -t chromedriver-installer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM library/python | ||
|
||
WORKDIR /home/chromedriver_installer | ||
|
||
ADD . /home/chromedriver_installer | ||
|
||
# Chromedriver 2.29 complains on Ubuntu about | ||
# missing libnss3 and libgconf-2-4 libraries. | ||
RUN apt-get -yqq update | ||
RUN apt-get -yqq install libnss3 libgconf-2-4 | ||
|
||
RUN pip install -q -r requirements.txt | ||
|
||
CMD tox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[tox] | ||
envlist=py27, py34 | ||
envlist=py27, py36 | ||
|
||
[testenv] | ||
skip_install=True | ||
|