-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into update-contributing
* 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
Showing
66 changed files
with
1,629 additions
and
8,621 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
repo_token: iWMd3HUEvGjGJIIotfrsfm4IXImTPzfKw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.