Skip to content

Commit

Permalink
Fix coveralls and add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardroche committed Jan 24, 2020
1 parent ac26d69 commit 7afd4ba
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .travis.yml
Expand Up @@ -33,14 +33,18 @@ install:
pip install flake8==3.5;
pip install flake8-docstrings;
pip install pydocstyle==3.0.0;
pip install python-coveralls==2.8.0;
pip install coverage==4.5.4;
pip install codecov==2.0.15;
pip install python-coveralls;
pip install mypy==0.540;
flake8 --version;
mypy --version;
else
pip install flake8;
pip install flake8-docstrings;
pip install pydocstyle;
pip install coverage==4.5.4;
pip install codecov==2.0.15;
pip install python-coveralls;
pip install mypy;
flake8 --version;
Expand All @@ -60,14 +64,16 @@ script:
find . -type f -name __init__.py -print;
find . -type f -name __init__.pyi -print;
if [ "$TRAVIS_PYTHON_VERSION" == "3.3" ]; then
mypy ../ColorSchemeUnit || true;
mypy "../$PACKAGE" || true;
else
mypy --show-error-codes ../ColorSchemeUnit || true;
fi
mypy --show-error-codes "../$PACKAGE" || true;
fi;
cd "$TRAVIS_BUILD_DIR";
fi

after_success:
- coveralls
- codecov

notifications:
email: false
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -2,7 +2,7 @@

A testing framework for Sublime Text color schemes.

[![Build Status](https://img.shields.io/travis/gerardroche/sublime-color-scheme-unit/master.svg?style=flat-square)](https://travis-ci.org/gerardroche/sublime-color-scheme-unit) [![Build status](https://img.shields.io/appveyor/ci/gerardroche/sublime-color-scheme-unit/master.svg?style=flat-square)](https://ci.appveyor.com/project/gerardroche/sublime-color-scheme-unit/branch/master) [![Coverage Status](https://img.shields.io/coveralls/gerardroche/sublime-color-scheme-unit/master.svg?style=flat-square)](https://coveralls.io/github/gerardroche/sublime-color-scheme-unit?branch=master) [![Minimum Sublime Version](https://img.shields.io/badge/sublime-%3E%3D%203.0-brightgreen.svg?style=flat-square)](https://sublimetext.com) [![Latest Stable Version](https://img.shields.io/github/tag/gerardroche/sublime-color-scheme-unit.svg?style=flat-square&label=stable)](https://github.com/gerardroche/sublime-color-scheme-unit/tags) [![GitHub stars](https://img.shields.io/github/stars/gerardroche/sublime-color-scheme-unit.svg?style=flat-square)](https://github.com/gerardroche/sublime-color-scheme-unit/stargazers) [![Downloads](https://img.shields.io/packagecontrol/dt/ColorSchemeUnit.svg?style=flat-square)](https://packagecontrol.io/packages/ColorSchemeUnit) [![Author](https://img.shields.io/badge/twitter-gerardroche-blue.svg?style=flat-square)](https://twitter.com/gerardroche)
[![Travis CI Build Status](https://img.shields.io/travis/gerardroche/sublime-color-scheme-unit/master.svg?style=flat-square&label=travisci)](https://travis-ci.org/gerardroche/sublime-color-scheme-unit) [![AppVeyor Build status](https://img.shields.io/appveyor/ci/gerardroche/sublime-color-scheme-unit/master.svg?style=flat-square&label=appveyor)](https://ci.appveyor.com/project/gerardroche/sublime-color-scheme-unit/branch/master) [![Coveralls Coverage Status](https://img.shields.io/coveralls/gerardroche/sublime-color-scheme-unit/master.svg?style=flat-square)](https://coveralls.io/github/gerardroche/sublime-color-scheme-unit?branch=master) [![Codecov Coverage Status](https://img.shields.io/codecov/c/github/gerardroche/sublime-color-scheme-unit/master?style=flat-square&label=codecov)](https://codecov.io/gh/gerardroche/sublime-color-scheme-unit/branch/master) [![Minimum Sublime Version](https://img.shields.io/badge/sublime-%3E%3D%203.0-brightgreen.svg?style=flat-square)](https://sublimetext.com) [![Latest Stable Version](https://img.shields.io/github/tag/gerardroche/sublime-color-scheme-unit.svg?style=flat-square&label=stable)](https://github.com/gerardroche/sublime-color-scheme-unit/tags) [![GitHub stars](https://img.shields.io/github/stars/gerardroche/sublime-color-scheme-unit.svg?style=flat-square)](https://github.com/gerardroche/sublime-color-scheme-unit/stargazers) [![Downloads](https://img.shields.io/packagecontrol/dt/ColorSchemeUnit.svg?style=flat-square)](https://packagecontrol.io/packages/ColorSchemeUnit) [![Author](https://img.shields.io/badge/twitter-gerardroche-blue.svg?style=flat-square)](https://twitter.com/gerardroche)

Many color schemes available for Sublime Text are not kept up to date, don't support plugins, use too many variants of the same colors, or only exist to be compatible with a specific theme. They tend to go out of date and break in unexpected and unknown ways. [ColorSchemeUnit](https://github.com/gerardroche/sublime-color-scheme-unit), which is a testing framework for Sublime Text color schemes, helps improve the quality of color schemes and prevent regressions.

Expand Down

0 comments on commit 7afd4ba

Please sign in to comment.