mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-24 09:44:48 +03:00
Fix Travis-CI issue
This commit is contained in:
parent
f42cea07ad
commit
31780046c2
@ -3,6 +3,7 @@ python:
|
||||
- "2.6"
|
||||
- "2.7"
|
||||
- "3.2"
|
||||
- "3.3"
|
||||
install:
|
||||
- "pip install psutil"
|
||||
script: cd ./glances ; python ./unitest.py
|
||||
- pip install -r requirements.txt --use-mirrors
|
||||
script: python setup.py test
|
||||
|
@ -1,7 +1,6 @@
|
||||
include README
|
||||
include COPYING
|
||||
include AUTHORS
|
||||
include ChangeLog
|
||||
include NEWS
|
||||
include screenshot.png
|
||||
recursive-include doc *.png
|
||||
|
0
glances/tests/__init__.py
Normal file
0
glances/tests/__init__.py
Normal file
15
glances/unitest.py → glances/tests/test_glances.py
Executable file → Normal file
15
glances/unitest.py → glances/tests/test_glances.py
Executable file → Normal file
@ -3,11 +3,6 @@
|
||||
#
|
||||
# Glances unitary test
|
||||
#
|
||||
# Syntax:
|
||||
# ./unitest.py
|
||||
# or
|
||||
# ./unitest.py -v
|
||||
#
|
||||
# Copyright (C) 2012 Nicolargo <nicolas@nicolargo.com>
|
||||
#
|
||||
# Glances is free software; you can redistribute it and/or modify
|
||||
@ -23,12 +18,14 @@
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# import os
|
||||
# import time
|
||||
# import signal
|
||||
import unittest
|
||||
import multiprocessing
|
||||
import os
|
||||
import signal
|
||||
import time
|
||||
import glances
|
||||
|
||||
from glances import glances
|
||||
|
||||
|
||||
class TestGlancesStat(unittest.TestCase):
|
||||
|
1
requirements.txt
Normal file
1
requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
psutil==0.6.1
|
Loading…
Reference in New Issue
Block a user