File tree Expand file tree Collapse file tree 3 files changed +461
-91
lines changed Expand file tree Collapse file tree 3 files changed +461
-91
lines changed Original file line number Diff line number Diff line change 1
1
sudo : required
2
2
dist : trusty
3
+
3
4
services :
4
5
- docker
5
6
7
+ addons :
8
+ chrome : " stable"
9
+
6
10
language : python
7
11
python :
8
12
- " 2.7"
13
+ - " 3.5"
14
+ - " 3.6"
9
15
10
16
before_install :
11
- - export CHROME_BIN=/usr/bin/google-chrome
12
17
- export DISPLAY=:99.0
13
18
- 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
18
19
- " /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
19
20
20
- script :
21
- - tox
22
-
23
- notifications :
24
- email :
25
- recipients :
26
-
27
-
28
-
29
21
install :
30
- - pip install tox
22
+ - pip install pipenv
31
23
32
24
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
34
28
35
29
notifications :
36
30
email :
Original file line number Diff line number Diff line change 2
2
url = " https://pypi.python.org/simple"
3
3
verify_ssl = true
4
4
5
+ ["dev-packages" ]
6
+
7
+ codecov = " *"
8
+
5
9
[packages ]
10
+
6
11
crayons = " *"
7
12
wrapt = " *"
8
13
pipenv = " *"
9
14
blindspin = " *"
10
- psycopg2 = " *"
11
- pytest-cov = " *"
12
- webdriver-manager = " *"
15
+ " psycopg2" = " *"
16
+ " pytest-cov" = " *"
17
+ " webdriver-manager" = " *"
13
18
pytest = " *"
14
19
docker = " *"
15
20
pymongo = " *"
16
21
selenium = " *"
17
- SQLAlchemy = " *"
18
- PyMySQL = " *"
22
+ sqlalchemy = " *"
23
+ pymysql = " *"
24
+
You can’t perform that action at this time.
0 commit comments