forked from gerardroche/sublime-color-scheme-unit
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (45 loc) · 1.26 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
language: python
env:
global:
- PACKAGE="ColorSchemeUnit"
matrix:
- SUBLIME_TEXT_VERSION="3"
matrix:
allow_failures:
- python: "3.6"
fast_finish: true
include:
- os: linux
python: 3.3
- os: linux
python: 3.6
before_install:
- curl -OL https://raw.githubusercontent.com/gerardroche/UnitTesting/develop/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:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
pip install flake8;
pip install flake8-docstrings;
pip install python-coveralls;
elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew update;
brew install python3;
pip3 install flake8;
pip3 install flake8-docstrings;
pip3 install python-coveralls;
fi
- sh travis.sh bootstrap
- flake8 --version
script:
- sh travis.sh run_tests --coverage
- sh travis.sh run_syntax_tests
- sh travis.sh run_color_scheme_tests
- flake8
after_success:
- coveralls
notifications:
email: false