Skip to content

Commit

Permalink
Revert to 9117e7c
Browse files Browse the repository at this point in the history
  • Loading branch information
naokazuterada committed Jun 18, 2017
1 parent 4749e21 commit b58a8aa
Show file tree
Hide file tree
Showing 25 changed files with 8,002 additions and 38 deletions.
1 change: 0 additions & 1 deletion .python-version

This file was deleted.

6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,14 @@ env:

before_install:
- curl -OL https://raw.githubusercontent.com/randy3k/UnitTesting/master/sbin/travis.sh
- sudo pip install codecov coverage bs4

install:
- sh travis.sh bootstrap

script:
- sh travis.sh run_tests --coverage
- sh travis.sh run_tests
# testing syntax_test files
# - sh travis.sh run_syntax_tests

after_success:
- codecov -t e41883b8-547a-4728-a703-d8e1bbedfcf8

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

## 2.3.2

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

## 2.3.1

- Allow indentation of blockquates
Expand Down
2 changes: 1 addition & 1 deletion MarkdownTOC.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import os.path
import pprint
from urllib.parse import quote
from bs4 import BeautifulSoup
from .bs4 import BeautifulSoup

# for dbug
pp = pprint.PrettyPrinter(indent=4)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

Sublime Text 3 plugin for generating a Table of Contents (TOC) in a Markdown document.

| Linux & macOS | Windows | Code coverage |
|:--------------|:--------|:--------------|
| [![Build Status](https://travis-ci.org/naokazuterada/MarkdownTOC.svg?branch=master)](https://travis-ci.org/naokazuterada/MarkdownTOC) | [![Build status](https://ci.appveyor.com/api/projects/status/vxj9jbihlrwfa6ui/branch/master?svg=true)](https://ci.appveyor.com/project/naokazuterada/markdowntoc/branch/master) | [![codecov](https://codecov.io/gh/naokazuterada/MarkdownTOC/branch/master/graph/badge.svg)](https://codecov.io/gh/naokazuterada/MarkdownTOC) |
| Linux & macOS | Windows |
|:------------|:------------|
| [![Build Status](https://travis-ci.org/naokazuterada/MarkdownTOC.svg?branch=master)](https://travis-ci.org/naokazuterada/MarkdownTOC) | [![Build status](https://ci.appveyor.com/api/projects/status/vxj9jbihlrwfa6ui/branch/master?svg=true)](https://ci.appveyor.com/project/naokazuterada/markdowntoc/branch/master) |

![](./demo.gif)

Expand Down
20 changes: 10 additions & 10 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Your package name
PACKAGE = 'UnitTesting-example'.freeze
PACKAGE = "UnitTesting-example"

# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = '2'.freeze
VAGRANTFILE_API_VERSION = "2"

script = <<SCRIPT
$script = <<SCRIPT
export SUBLIME_TEXT_VERSION=$1
export PACKAGE="$2"
wget -O /home/vagrant/vagrant.sh https://raw.githubusercontent.com/randy3k/UnitTesting/master/sbin/vagrant.sh
Expand All @@ -13,13 +13,13 @@ chmod +x /home/vagrant/vagrant.sh
SCRIPT

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = 'precise64'
config.vm.box_url = 'http://files.vagrantup.com/precise64.box'
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"

config.vm.define 'st3' do |st3|
st3.vm.provision 'shell' do |s|
s.inline = script
s.args = ['3', PACKAGE]
config.vm.define "st3" do |st3|
st3.vm.provision "shell" do |s|
s.inline = $script
s.args = ["3", PACKAGE]
end
end
end
end
Loading

0 comments on commit b58a8aa

Please sign in to comment.