Skip to content

Commit 4cd5305

Browse files
committed
move to pipenv
1 parent d1ed985 commit 4cd5305

File tree

3 files changed

+461
-91
lines changed

3 files changed

+461
-91
lines changed

.travis.yml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,30 @@
11
sudo: required
22
dist: trusty
3+
34
services:
45
- docker
56

7+
addons:
8+
chrome: "stable"
9+
610
language: python
711
python:
812
- "2.7"
13+
- "3.5"
14+
- "3.6"
915

1016
before_install:
11-
- export CHROME_BIN=/usr/bin/google-chrome
1217
- export DISPLAY=:99.0
1318
- sh -e /etc/init.d/xvfb start
14-
- sudo apt-get update
15-
- sudo apt-get install -y libappindicator1 fonts-liberation
16-
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
17-
- sudo dpkg -i google-chrome*.deb
1819
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
1920

20-
script:
21-
- tox
22-
23-
notifications:
24-
email:
25-
recipients:
26-
27-
28-
2921
install:
30-
- pip install tox
22+
- pip install pipenv
3123

3224
script:
33-
- tox
25+
- pipenv install --dev
26+
- pipenv run py.test -sv --cov-config .coveragerc --cov-report html:skip-covered --cov-report term:skip-covered --cov=selene --tb=short tests/
27+
- codecov
3428

3529
notifications:
3630
email:

Pipfile

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,23 @@
22
url = "https://pypi.python.org/simple"
33
verify_ssl = true
44

5+
["dev-packages"]
6+
7+
codecov = "*"
8+
59
[packages]
10+
611
crayons = "*"
712
wrapt = "*"
813
pipenv = "*"
914
blindspin = "*"
10-
psycopg2 = "*"
11-
pytest-cov = "*"
12-
webdriver-manager = "*"
15+
"psycopg2" = "*"
16+
"pytest-cov" = "*"
17+
"webdriver-manager" = "*"
1318
pytest = "*"
1419
docker = "*"
1520
pymongo = "*"
1621
selenium = "*"
17-
SQLAlchemy = "*"
18-
PyMySQL = "*"
22+
sqlalchemy = "*"
23+
pymysql = "*"
24+

0 commit comments

Comments
 (0)