-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (33 loc) · 986 Bytes
/
.travis.yml
File metadata and controls
39 lines (33 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
os:
- linux
- osx
env:
global:
# The package name
- PACKAGE="SublimeMagic"
matrix:
- SUBLIME_TEXT_VERSION="3"
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
# run tests without test coverage report
# - sh travis.sh run_tests
# testing syntax_test files
# - sh travis.sh run_syntax_tests
after_success:
notifications:
email:
on_success: change
on_failure: always