Skip to content

Commit

Permalink
Added travis settings
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemarshall committed Mar 11, 2016
1 parent 8aa46c7 commit fb11e69
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .editorconfig
Expand Up @@ -14,22 +14,18 @@ charset = utf-8
[*.html]
indent_size = 2

[*.rst]
indent_size = 2

# The JSON files contain newlines inconsistently
[*.json]
indent_size = 2
insert_final_newline = ignore

[**/admin/js/vendor/**]
indent_style = ignore
indent_size = ignore
# Use 2 spaces for the reStructuredText files
[*.rst]
indent_size = 2

# Minified JavaScript files shouldn't be changed
[**.min.js]
indent_style = ignore
insert_final_newline = ignore
# Use 2 spaces for the YAML files
[*.yml]
indent_size = 2

# Makefiles always use tabs for indentation
[Makefile]
Expand Down
21 changes: 21 additions & 0 deletions .travis.yml
@@ -0,0 +1,21 @@
---
language: python
sudo: false
cache: pip
matrix:
allow_failures:
- python: nightly
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "nightly"
env:
- DJANGO="Django>=1.8.0,<1.9.0"
- DJANGO="Django>=1.9.0,<1.10.0"
install:
- pip install -q $DJANGO
- python setup.py -q install
script:
- python setup.py -v test

0 comments on commit fb11e69

Please sign in to comment.