From fb11e69a2437bf84b7d983380ead2fba4518e818 Mon Sep 17 00:00:00 2001 From: George Marshall Date: Fri, 11 Mar 2016 00:10:20 -0800 Subject: [PATCH] Added travis settings --- .editorconfig | 16 ++++++---------- .travis.yml | 21 +++++++++++++++++++++ 2 files changed, 27 insertions(+), 10 deletions(-) create mode 100644 .travis.yml diff --git a/.editorconfig b/.editorconfig index 3d5c672..2638737 100644 --- a/.editorconfig +++ b/.editorconfig @@ -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] diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2577267 --- /dev/null +++ b/.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