-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.travis.yml
More file actions
57 lines (53 loc) · 1.34 KB
/
.travis.yml
File metadata and controls
57 lines (53 loc) · 1.34 KB
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
53
54
55
56
57
sudo: required
dist: trusty
language: python
cache: pip
deploy:
provider: pypi
user: struts2spring
password: SomeDefaultText
distributions: sdist bdist_wheel
python:
- "3.6"
branches:
only:
- master
# command to install dependencies
addons:
apt:
packages:
- libwebkitgtk-dev
- libjpeg-dev
- libtiff-dev
- libgtk2.0-dev
- libsdl1.2-dev
- libgstreamer-plugins-base0.10-dev
- freeglut3
- freeglut3-dev
- libnotify-dev
# command to install dependencies
install:
# - sudo apt-get update
- sudo apt-get install libwebkitgtk-dev libjpeg-dev libtiff-dev libgtk2.0-dev libsdl1.2-dev freeglut3 freeglut3-dev libnotify-dev
- echo "SIX_INSTALLATION"
- travis_wait 60 sudo pip install -Uv six
- echo "WXPYTHON_INSTALLATION"
# - pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04 wxPython
#travis_wait 60 sudo pip install -Uv wxpython
- echo "WXPYTHON_INSTALLATION_FINISHED"
- "pip install requests coveralls nose-htmloutput nose coverage"
- echo "INSTALLATION_FINISHED"
- pip install -r requirements.txt
# - pip install -U pytest
- python -V
# command to run tests
# script:
# - pytest
after_success:
- coveralls
notifications:
email:
recipients:
on_success: always # default: change
on_failure: always # default: always