-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
50 lines (40 loc) · 904 Bytes
/
.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
dist: trusty
sudo: false
addons:
apt:
packages:
- libsdl2-2.0-0
language: python
cache:
- pip: true
python:
- '3.6'
- '3.6-dev' # 3.6 development branch
- 'nightly' # currently points to 3.7-dev
git:
depth: 3
before_install:
- "export TRAVIS_COMMIT_MSG=\"$(git log --format=%f --no-merges -n 1)\""
- source ./travis_prepare.sh
install:
- pip install -r requirements.txt
- pip install coveralls
- python setup.py install
script:
- python setup.py clean --all
- py3clean .
- coverage run --source=vulk --omit="vulk/tests*" setup.py test
- flake8 vulk
- pylint --rcfile=.pylintrc-travis vulk
after_success:
- coveralls
deploy:
skip_cleanup: true
provider: script
script: 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./travis_deploy.sh; fi'
on:
python: '3.6'
matrix:
allow_failures:
- python: '3.6-dev'
- python: 'nightly'