Skip to content

Commit

Permalink
Merge branch 'master' into update-contributing
Browse files Browse the repository at this point in the history
* master: (144 commits)
  Fix typo
  Modify travis.yml according to https://github.com/randy3k/UnitTesting-example/blob/master/.travis.yml
  Recover sudo
  Change url
  Remove 'sudo'
  Sudo-enabled Trusty images
  Rename and modify message format
  Preparation for v2.7.1
  Allow single quoted value
  Fix string replacement
  Regex matching setting tags fixed
  Dropped dependency on bs4 sucrificing tag-defined id_replacements
  Update messages.json
  - Update change logs - Add message
  Add 'Link Prefix' on README
  Specify codeblock syntax
  Use double quote in string value
  Fix error
  Add link_prefix test
  Add 'link_prefix'
  ...
  • Loading branch information
naokazuterada committed Feb 3, 2018
2 parents 5a29306 + f8dd488 commit b2806a3
Show file tree
Hide file tree
Showing 66 changed files with 1,629 additions and 8,621 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_token: iWMd3HUEvGjGJIIotfrsfm4IXImTPzfKw
52 changes: 41 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,55 @@
os:
- linux
- osx

sudo: required

env:
global:
- PACKAGE="MarkdownTOC"
matrix:
- PACKAGE="UnitTesting-example" # Package name
- SUBLIME_TEXT_VERSION="3"
# use UNITTESTING_TAG to specific tag of UnitTesting
# - UNITTESTING_TAG="master"

# mutliple os matrix
# https://docs.travis-ci.com/user/multi-os/#Python-example-(unsupported-languages)
matrix:
include:
- os: linux
language: python
python: 3.3
- os: osx
language: generic


before_install:
- curl -OL https://raw.githubusercontent.com/randy3k/UnitTesting/master/sbin/travis.sh
- curl -OL https://raw.githubusercontent.com/SublimeText/UnitTesting/master/sbin/travis.sh
# enable gui, see https://docs.travis-ci.com/user/gui-and-headless-browsers
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
export DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
fi

install:
# bootstrap the testing environment
- sh travis.sh bootstrap
# install Package Control and package denepdencies
# - sh travis.sh install_package_control

script:
- sh travis.sh run_tests
# run tests with test coverage report
- sh travis.sh run_tests --coverage
# testing syntax_test files
# - sh travis.sh run_syntax_tests

after_success:
# remove the following if `coveralls` is not needed
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew update;
brew install python3;
pip3 install python-coveralls;
pip3 install codecov;
fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
pip install python-coveralls;
pip install codecov;
fi
- coveralls
- codecov -t e41883b8-547a-4728-a703-d8e1bbedfcf8

notifications:
email: true
email: true
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,39 @@
Changes in MarkdownTOC
===========================

## 2.7.1

- Drop BeautifulSoup dependency. Ref: #111
Contribution by @ziembla

## 2.7.0

- Add `link_prefix` parameter. Ref: #54

## 2.6.0

- Add `remove_image` parameter. Ref: #43
- Add `lowercase` parameter. Ref: #40

## 2.5.0

- Add `Customizable list bullets` feature

## 2.4.1

- Fix problem that user's settings doesn't work. Ref: #100
- Fix problem that characters inside codeblock is also escaped. Ref: #64
Contribution by Mathieu PATUREL ( @math2001 ). Ref: #101

## 2.4.0

- Support MarkdownPreview's anchoring

## 2.3.2

- Fix the way of import dependencies
- Add code coverage on redame

## 2.3.1

- Allow indentation of blockquates
Expand Down
Loading

0 comments on commit b2806a3

Please sign in to comment.