Skip to content

Commit 233bdd5

Browse files
committed
travis
1 parent f84d372 commit 233bdd5

File tree

7 files changed

+81
-7
lines changed

7 files changed

+81
-7
lines changed

.travis.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
language: python
2+
sudo: false
3+
4+
matrix:
5+
include:
6+
- python: 2.7
7+
env: DJANGO=1.8.*
8+
- python: 2.7
9+
env: DJANGO=1.9.*
10+
- python: 2.7
11+
env: DJANGO=1.10.*
12+
- python: 2.7
13+
env: DJANGO=1.11.*
14+
15+
- python: 3.3
16+
env: DJANGO=1.8.*
17+
- python: 3.3
18+
env: DJANGO=1.9.*
19+
- python: 3.3
20+
env: DJANGO=1.10.*
21+
- python: 3.3
22+
env: DJANGO=1.11.*
23+
24+
- python: 3.5
25+
env: DJANGO=1.8.*
26+
- python: 3.5
27+
env: DJANGO=1.9.*
28+
- python: 3.5
29+
env: DJANGO=1.10.*
30+
- python: 3.5
31+
env: DJANGO=1.11.*
32+
33+
- python: 3.6
34+
env: DJANGO=1.8.*
35+
- python: 3.6
36+
env: DJANGO=1.9.*
37+
- python: 3.6
38+
env: DJANGO=1.10.*
39+
- python: 3.6
40+
env: DJANGO=1.11.*
41+
- python: 3.6
42+
env: DJANGO=2.0.*
43+
- python: 3.6
44+
env: DJANGO=2.1.*
45+
46+
- os: osx
47+
language: generic
48+
env: DJANGO=1.10.*
49+
50+
# Perform the manual steps on OSX to install Python3 and activate venv:
51+
# Since Python versions have been tested on Linux and it is only a matter of
52+
# system architecture, OSX tests will only run on one Python 3 + latest stable
53+
# release for Django.
54+
before_install:
55+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then python3 -m venv env ; fi
56+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source env/bin/activate ; fi
57+
58+
install:
59+
- pip install -q Django==$DJANGO
60+
- python setup.py install
61+
62+
script: python runtests.py

martor/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
22

3-
__VERSION__ = '1.3.1'
3+
__VERSION__ = '1.3.2'
44
__AUTHOR__ = 'Agus Makmun (Summon Agus)'
55
__AUTHOR_EMAIL__ = '[email protected]'

martor/static/martor/css/martor.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

martor/static/martor/js/martor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* Name : Martor v1.3.1
2+
* Name : Martor v1.3.2
33
* Created by : Agus Makmun (Summon Agus)
4-
* Release date : 02-Sep-2018
4+
* Release date : 03-Sep-2018
55
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
66
* Repository : https://github.com/agusmakmun/django-markdown-editor
77
**/

martor/static/martor/js/martor.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

martor/tests.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
from django.test import TestCase
3+
4+
5+
class SimpleTest(TestCase):
6+
7+
def test_me(self):
8+
response = self.client.get('/', follow=True)
9+
self.assertEqual(response.status_code, 200)

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,16 @@ def get_requirements():
2828
'Framework :: Django :: 1.9',
2929
'Framework :: Django :: 1.10',
3030
'Framework :: Django :: 1.11',
31+
'Framework :: Django :: 2.0',
32+
'Framework :: Django :: 2.1',
3133
'Intended Audience :: Developers',
3234
'Operating System :: OS Independent',
3335
'Programming Language :: JavaScript',
3436
'Programming Language :: Python',
3537
'Programming Language :: Python :: 2.7',
3638
'Programming Language :: Python :: 3.3',
3739
'Programming Language :: Python :: 3.5',
40+
'Programming Language :: Python :: 3.6',
3841
'Topic :: Software Development :: Libraries :: Python Modules',
3942
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
4043
],

0 commit comments

Comments
 (0)