-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from rwols/dev
Prepare for version 2.0-alpha
- Loading branch information
Showing
65 changed files
with
2,505 additions
and
341 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,23 @@ | ||
environment: | ||
# The package name | ||
PACKAGE: CMakeBuilder | ||
SUBLIME_TEXT_VERSION : "3" | ||
|
||
install: | ||
- ps: appveyor DownloadFile "https://raw.githubusercontent.com/randy3k/UnitTesting/master/sbin/appveyor.ps1" | ||
- ps: .\appveyor.ps1 "bootstrap" -verbose | ||
# install Package Control | ||
- ps: .\appveyor.ps1 "install_package_control" -verbose | ||
|
||
build: off | ||
|
||
test_script: | ||
|
||
# run tests with test coverage report | ||
- ps: .\appveyor.ps1 "run_tests" -coverage -verbose | ||
|
||
after_test: | ||
- "SET PYTHON=C:\Python33" | ||
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" | ||
- pip install codecov | ||
- codecov |
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,2 @@ | ||
[run] | ||
omit = /*/tests/* |
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,21 @@ | ||
# Stuff not being exported to ZIP and therefore | ||
# prevented from being packed into LSP.sublime-package | ||
|
||
## git | ||
.github/ export-ignore | ||
gh-pages/ export-ignore | ||
*.git export-ignore | ||
*.gitignore export-ignore | ||
*.gitattributes export-ignore | ||
|
||
## unit testing | ||
tests/ export-ignore | ||
unittesting.json export-ignore | ||
|
||
## other configs | ||
stubs/ export-ignore | ||
.travis.yml export-ignore | ||
.appveyor.yml export-ignore | ||
.coveragerc export-ignore | ||
*.ini export-ignore | ||
*.cfg export-ignore |
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,4 @@ | ||
.coverage | ||
.vagrant | ||
*.pyc | ||
tests/*build* |
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,55 @@ | ||
env: | ||
global: | ||
- PACKAGE=CMakeBuilder # 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 | ||
# 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: | ||
# 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 | ||
|
||
notifications: | ||
email: false |
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,10 @@ | ||
{ | ||
"target": "cmake_build", | ||
"selector": "source.cmake | source.c | source.c++", | ||
"variants": | ||
{ | ||
"name": "Select & Build Target", | ||
"selector": "source.cmake | source.c | source.c++", | ||
"select_target": 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
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
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,9 +1,10 @@ | ||
Thank you for showing interest in contributing to CMakeBuilder. | ||
|
||
# Style Guide | ||
The style is loosely based on [PEP8][1]. | ||
Use the LSP plugin (search for it on Package Control) together with the | ||
python-language-server when you make changes to this plugin. You can install | ||
python-language-server with pip3. When you're done with the changes, format | ||
the document. Please trim whitespace and make sure views end with an empty line. | ||
|
||
# Things That Need Attention | ||
More platform-specific generators are very welcome. See the folder "Generators". | ||
|
||
[1]: https://www.python.org/dev/peps/pep-0008/ |
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.