Skip to content

Commit

Permalink
[Travis] Switch to container build, latest browser
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Jun 16, 2017
1 parent 5d5c5f6 commit 2841ce7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
18 changes: 16 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
notifications:
email: false

sudo: false

language: python

services:
Expand All @@ -18,9 +20,21 @@ env:
- TOXENV=py34-1.10
- TOXENV=py34-1.11

addons:
firefox: latest
apt:
packages:
- ffmpeg
- libavcodec-extra-53
- xvfb

before_install:
- wget https://github.com/mozilla/geckodriver/releases/download/v0.17.0/geckodriver-v0.17.0-linux64.tar.gz
- mkdir geckodriver
- tar -xzf geckodriver-v0.17.0-linux64.tar.gz -C geckodriver
- export PATH=$PATH:$PWD/geckodriver

install:
- 'if [ $TOXENV != "flake8" ]; then sudo apt-get update -qq; fi'
- 'if [ $TOXENV != "flake8" ]; then sudo apt-get install -qq ffmpeg libavcodec-extra-53 iceweasel xvfb; fi'
- pip install tox

before_script:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def read_file(filename):
] + ssl,
extras_require={
'test': [
'selenium < 3',
'selenium >= 3',
'mock',
'django-nose == 1.4.4',
'Mutagen',
Expand Down

0 comments on commit 2841ce7

Please sign in to comment.