forked from timbrel/GitSavvy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (44 loc) · 1.18 KB
/
.travis.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
sudo: required
env:
global:
- PACKAGE="GitSavvy"
- SUBLIME_TEXT_VERSION="3"
- UNITTESTING_TAG="master"
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
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
export DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
fi
- git config --global user.email [email protected]
- git config --global user.name GitSavvy
install:
- sh travis.sh bootstrap
- sh travis.sh install_package_control
script:
- sh travis.sh run_tests --coverage
- sh travis.sh run_syntax_tests
after_success:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update;
brew install python3;
pip3 install python-coveralls;
fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
pip install python-coveralls;
fi
- coveralls
# deploy:
# provider: script
# script: ./scripts/deploy.sh
# on:
# branch: master
notifications:
email: false