Skip to content
Snippets Groups Projects
Commit 670be17f authored by inso's avatar inso
Browse files

Fix tests

parent e6ee3120
Branches
Tags
No related merge requests found
......@@ -11,7 +11,7 @@ pyrcc5 -version
lrelease -version
echo %CWS%
echo "%CWD%"
python setup.py test
......
......@@ -61,14 +61,16 @@ then
--enable QtCore \
--enable QtWidgets \
--enable QtGui \
--enable QtSvg
--enable QtSvg\
--enable QtTest
elif [ $TRAVIS_OS_NAME == "linux" ]
then
python configure.py --qmake "/usr/lib/x86_64-linux-gnu/qt5/bin/qmake" --confirm-license \
--enable QtCore \
--enable QtWidgets \
--enable QtGui \
--enable QtSvg
--enable QtSvg\
--enable QtTest
fi
make -j 2 && make install
......
......@@ -7,6 +7,7 @@ import unittest
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'src')))
if "test" in sys.argv:
print(sys.path)
if "XDG_CONFIG_HOME" in os.environ:
os.environ["XDG_CONFIG_HOME"] = os.path.abspath(os.path.join(os.path.dirname(__file__), 'tmp'))
elif "HOME" in os.environ:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment