Skip to content

Commit

Permalink
Declarative dependencies for Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
phdru committed Nov 6, 2016
1 parent 480a4b7 commit cecd6d5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Expand Up @@ -6,6 +6,12 @@ language: python
cache: pip

addons:
apt:
packages:
- python-egenix-mxdatetime
- python-mysqldb
- python-psycopg2
- python3-psycopg2
postgresql: "9.4"

env:
Expand All @@ -24,10 +30,6 @@ env:
- TOXENV=py27-flake8
- TOXENV=py34-flake8

before_install:
- sudo apt-get -qq update
- sudo apt-get install -y python-egenix-mxdatetime python-mysqldb python-psycopg2 python3-psycopg2

install: pip install tox coveralls codecov

matrix:
Expand Down
5 changes: 5 additions & 0 deletions circle.yml
@@ -1,3 +1,8 @@
general:
branches:
only:
- master # disable this branch

dependencies:
cache_directories:
- ~/.cache/pip
Expand Down

0 comments on commit cecd6d5

Please sign in to comment.