Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add config for Travis CI
Patryk Zawadzkiea5dba252cc7
diff --git a/.gitignore b/.gitignoreindex 4a52afe0bc..c8aec6f250 100644--- a/.gitignore+++ b/.gitignore@@ -1,6 +1,7 @@*.py[cod]-!.gitignore.*+!.gitignore+!.travis**.log*.pot*.pycdiff --git a/.travis.yml b/.travis.ymlnew file mode 100644index 0000000000..05dc5fd87a--- /dev/null+++ b/.travis.yml@@ -0,0 +1,9 @@+language: python+python:+ - 2.6+ - 2.7+install:+ - python setup.py install+script:+ - export DJANGO_SETTINGS_MODULE=saleor.test_settings+ - python setup.py testdiff --git a/cart/models.py b/cart/models.pyindex e69de29bb2..40a96afc6f 100644--- a/cart/models.py+++ b/cart/models.py@@ -0,0 +1 @@+# -*- coding: utf-8 -*-diff --git a/saleor/test_settings.py b/saleor/test_settings.pynew file mode 100644index 0000000000..fe2ede3c4f--- /dev/null+++ b/saleor/test_settings.py@@ -0,0 +1,3 @@+from .settings import *++SECRET_KEY = 'NOTREALLY'