-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
59 lines (54 loc) · 1.84 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
53
54
55
56
57
58
59
language: python
python:
- "2.7"
## Command to install system dependencies
before_install:
- sudo apt-get update -qq
- sudo apt-get install dialog
- git clone https://github.com/pyinstaller/pyinstaller.git
- sudo apt-get install python-dbus python-dbus-dev
# - cp -r /usr/lib/python2.7/dist-packages/dbus /home/travis/virtualenv/python2.7.8/site-packages/
# - cp -r /usr/lib/python2.7/dist-packages/_dbus_*.so /home/travis/virtualenv/python2.7.8/site-packages/
# - sudo apt-get install libdbus-glib-1-dev
# - wget http://dbus.freedesktop.org/releases/dbus-python/dbus-python-1.2.0.tar.gz
# - mkdir dbus
# - tar xvzf dbus-python-1.2.0.tar.gz -C dbus --strip-components=1
# - cd dbus
# - ./configure --prefix=/tmp/dbus-python
# - make
# - sudo make install
## Command to install pip dependencies
install:
- pip install mechanize keyring colorama python2-pythondialog beautifulsoup4
# - pip install dbus-python
## command to run tests
script:
- ./kotnetcli.py -h
- ./kotnetcli.py -1 -c
- ./kotnetcli.py -1 -u
- ./kotnetcli.py -1 -t
- ./kotnetcli.py -1 -d
- ./kotnetcli.py -1 -s
- ./kotnetcli.py -1 -q
- ./kotnetcli.py -0 -c
- ./kotnetcli.py -0 -u
- ./kotnetcli.py -0 -t
- ./kotnetcli.py -0 -d
- ./kotnetcli.py -0 -s
- ./kotnetcli.py -0 -q
- ./pyinstaller/pyinstaller.py compile-lin.spec
- ./dist/kotnetcli-lin -h
- ./dist/kotnetcli-lin -1 -c
- ./dist/kotnetcli-lin -1 -u
- ./dist/kotnetcli-lin -1 -t
- ./dist/kotnetcli-lin -1 -d
- ./dist/kotnetcli-lin -1 -s
- ./dist/kotnetcli-lin -1 -q
- ./dist/kotnetcli-lin -0 -c
- ./dist/kotnetcli-lin -0 -u
- ./dist/kotnetcli-lin -0 -t
- ./dist/kotnetcli-lin -0 -d
- ./dist/kotnetcli-lin -0 -s
- ./dist/kotnetcli-lin -0 -q
notifications:
- email: false