Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
run lint before tests (?)
Browse files Browse the repository at this point in the history
  • Loading branch information
Buck Golemon committed Dec 18, 2014
1 parent cde2b0f commit 5543ba0
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
language: python
python:
- "2.6"
- "2.7"
# in order of most-valuable tests first
- "3.4"
- pypy
- pypy3
env: TOXENV=test
- "2.6"
- pypy
- "2.7"
env:
# start lint before tests
- TOXENV=lint
- TOXENV=test

matrix:
# notify a failed build as soon as anything fails
fast_finish: true
# really only need to run lint twice
exclude:
- env: TOXENV=lint
include:
# really only need to run lint twice
- python: "3.4"
env: TOXENV=lint
- python: "2.7"
env: TOXENV=lint

install: pip install -r requirements.d/travis.txt
script: tox
after_success:
Expand All @@ -26,9 +34,8 @@ after_failure:
- find -name pip.log | xargs -r tail -n99999


# public caches only supported under sudo:false currently
# closest thing to documentation:
# http://blog.travis-ci.com/2014-10-07-free-builds-for-students-github-student-developer-pack
# sudo:false gives us the new, faster cluster and enables caches for public repos
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
cache:
directories:
Expand Down

0 comments on commit 5543ba0

Please sign in to comment.