Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
22 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 |
---|---|---|
@@ -1,37 +1,37 @@ | ||
# mutliple os matrix | ||
# https://docs.travis-ci.com/user/multi-os/#Python-example-(unsupported-languages) | ||
matrix: | ||
include: | ||
- os: linux | ||
language: python | ||
- os: osx | ||
language: generic | ||
include: | ||
- os: linux | ||
language: python | ||
- os: osx | ||
language: generic | ||
|
||
services: | ||
- xvfb | ||
- xvfb | ||
|
||
before_install: | ||
- curl -OL https://raw.githubusercontent.com/SublimeText/UnitTesting/master/sbin/travis.sh | ||
- curl -OL https://raw.githubusercontent.com/SublimeText/UnitTesting/master/sbin/travis.sh | ||
|
||
install: | ||
# bootstrap the testing environment | ||
- sh travis.sh bootstrap | ||
# install Package Control and package denepdencies | ||
# - sh travis.sh install_package_control | ||
# 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 | ||
# - sh travis.sh run_syntax_compatibility | ||
# run tests with test coverage report | ||
- sh travis.sh run_tests --coverage | ||
# testing syntax_test files | ||
# - sh travis.sh run_syntax_tests | ||
# - sh travis.sh run_syntax_compatibility | ||
|
||
after_success: | ||
# remove the following if `coveralls` is not needed | ||
- pip3 install python-coveralls; | ||
- pip3 install coverage==4.5.4 codecov==2.0.15 | ||
- coveralls | ||
- codecov | ||
# remove the following if `coveralls` is not needed | ||
- pip3 install python-coveralls; | ||
- pip3 install coverage==4.5.4 codecov==2.0.15 | ||
- coveralls | ||
- codecov | ||
|
||
notifications: | ||
email: false | ||
email: false |