Skip to content

Commit 8d68d28

Browse files
committed
Merge branch 'master' into nirizr/basicblocks
2 parents b63b38d + 9c9eaed commit 8d68d28

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.travis.yml

+10-8
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ before_install:
3737
install:
3838
- set +vx;
3939
- pip install --upgrade pip setuptools wheel
40-
- if [ ${ENV} = "docker" ]; then
40+
- if [ "${ENV}" = "docker" ]; then
4141
service docker start ;
4242
docker-compose -f ./${PROJECT}/docker-compose.yml build ;
4343
docker-compose -f ./${PROJECT}/docker-compose.yml up -d ;
4444
if [ -f ./tests/${PROJECT}/requirements.txt ]; then
4545
docker-compose -f ./${PROJECT}/docker-compose.yml exec web pip install -r ./tests/requirements.txt ;
4646
fi ;
4747
else
48-
if [ ${PROJECT} = "idaplugin" ]; then
48+
if [ "${PROJECT}" = "idaplugin" ]; then
4949
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
50-
bash ./miniconda.sh -b -p ${HOME}/miniconda;
50+
bash ./miniconda.sh -b -p "${HOME}/miniconda";
5151
export PATH=${HOME}/miniconda/bin:$PATH;
5252
conda info -a;
5353
conda install --yes python=${TRAVIS_PYTHON_VERSION} pyqt;
@@ -58,8 +58,8 @@ install:
5858
if [ -f tests/${PROJECT}/requirements.txt ]; then
5959
pip install -r tests/${PROJECT}/requirements.txt ;
6060
fi ;
61-
if [ -f ${PROJECT}/requirements.txt ]; then
62-
pip install -r ${PROJECT}/requirements.txt ;
61+
if [ -f "${PROJECT}/requirements.txt" ]; then
62+
pip install -r "${PROJECT}/requirements.txt" ;
6363
fi ;
6464
fi ;
6565
- pip install flake8 coveralls pytest-cov ;
@@ -74,8 +74,10 @@ script:
7474
PYTHONPATH=. py.test ./${PROJECT} ./tests/${PROJECT} --verbose --cov-report= --cov=$PROJECT ;
7575
fi ;
7676
fi ;
77-
- if [ ${PROJECT} = "setup.py" ]; then python ./setup.py server install ; fi ;
78-
- if [ ${PROJECT} = "setup.py" ]; then python ./setup.py idaplugin install ; fi ;
77+
- if [ "${PROJECT}" = "setup.py" ]; then python ./setup.py server install ; fi ;
78+
- if [ "${PROJECT}" = "setup.py" ]; then python ./setup.py idaplugin install ; fi ;
7979

8080
after_script:
81-
- if [ -d ./tests/${PROJECT} ] && [ ${ENV} != "docker" ]; then coveralls ; echo "./tests/${PROJECT}" ; fi ;
81+
- if [ -d ./tests/${PROJECT} ] && [ "${ENV}" != "docker" ]; then
82+
coveralls ;
83+
fi ;

0 commit comments

Comments
 (0)