Skip to content

Commit

Permalink
chore(ci): Change python 3.3 to use trusty as xenial doesn't have 3.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
kieran-github committed Jun 27, 2020
1 parent 2f4a745 commit 01ba568
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"

# Also run these python versions with a specific distribution:
matrix:
fast_finish: true
include:
- python: 3.3
dist: trusty

before_install:
- sudo apt-get update -qq
- sudo apt-get install -y -qq python-dev libxslt1-dev libxml2-dev
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def read_first_line(f):
def _post_install():
os.system("chmod +x /usr/local/bin/droopescan");

class PostInstall(install):
class PostInstall(install):

def run(self):
install.run(self)
Expand Down Expand Up @@ -47,8 +47,10 @@ def run(self):
'cement>=2.6,<2.6.99',
'requests',
'pystache',
'futures'
],
extras_require={
':python_version == "2.7"': ['futures']
},
cmdclass={'install': PostInstall}
)

0 comments on commit 01ba568

Please sign in to comment.