Minor fixes in Travis CI tests (#262)
chmod command should be executed before any other script in the travis directory
This commit is contained in:
@@ -57,10 +57,8 @@ matrix:
|
||||
# osx_image: xcode9.2
|
||||
|
||||
before_install:
|
||||
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then travis/linux_before_install.sh; fi
|
||||
|
||||
before_script:
|
||||
- chmod +x travis/*.sh
|
||||
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then travis/linux_before_install.sh; fi
|
||||
|
||||
install:
|
||||
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then travis/linux_install.sh; fi
|
||||
|
||||
@@ -83,10 +83,10 @@ if [[ "${DIST}" == "trusty" ]]; then
|
||||
cp \
|
||||
/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so \
|
||||
"${APPIMAGE_DST_PATH}"/appdir/usr/plugins/platforminputcontexts/
|
||||
cd "${APPIMAGE_DST_PATH}"/appdir/usr/bin
|
||||
cd "${APPIMAGE_DST_PATH}"/appdir/usr/bin
|
||||
ln -sf ../plugins/platforms/ . # An unknown bug
|
||||
ln -sf ../share/flameshot/translations/ . # add translation soft link
|
||||
cd "${project_dir}"
|
||||
cd "${project_dir}"
|
||||
|
||||
# -verbose=2
|
||||
./linuxdeployqt "${APPIMAGE_DST_PATH}"/appdir/usr/share/applications/flameshot.desktop -appimage
|
||||
|
||||
Reference in New Issue
Block a user