Skip to content

Commit

Permalink
update ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
jared2020 committed Aug 3, 2019
1 parent 37e44a3 commit 483c4ec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ matrix:
- os: linux
dist: xenial
env:
releaseName=TaoQuickDemo_ubuntu_xenial_x64.AppImage
releaseName=TaoQuickApp_ubuntu_xenial_x64.AppImage
cache:
apt: true
directories:
Expand All @@ -16,7 +16,7 @@ matrix:
- os: osx
osx_image: xcode10.2
env:
releaseName=TaoQuickDemo_macos10-14_xcode10-2.dmg
releaseName=TaoQuickApp_macos10-14_xcode10-2.dmg
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then chmod a+x ./scripts/macos/install.sh; ./scripts/macos/install.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then chmod a+x ./scripts/ubuntu/install.sh; ./scripts/ubuntu/install.sh; fi
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ build_script:
- qmake
- nmake
after_build:
- if "%APPVEYOR_REPO_TAG%"=="true" windeployqt bin\release\TaoQuickDemo.exe --qmldir %QTDIR%\qml
- if "%APPVEYOR_REPO_TAG%"=="true" windeployqt bin\release\TaoQuickApp.exe --qmldir %QTDIR%\qml
artifacts:
- path: bin
name: $(releaseName)
Expand Down
8 changes: 4 additions & 4 deletions scripts/macos/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /bin/bash
mkdir bin/release/TaoQuickDemo.app/Contents/Resources/qml
cp -R bin/release/TaoQuick bin/release/TaoQuickDemo.app/Contents/Resources/qml/TaoQuick
/usr/local/opt/qt/bin/macdeployqt bin/release/TaoQuickDemo.app -qmldir=/usr/local/opt/qt/qml -verbose=1 -dmg
mv bin/release/TaoQuickDemo.dmg bin/release/TaoQuickDemo_macos10-14_xcode10-2.dmg
mkdir bin/release/TaoQuickApp.app/Contents/Resources/qml
cp -R bin/release/TaoQuick bin/release/TaoQuickApp.app/Contents/Resources/qml/TaoQuick
/usr/local/opt/qt/bin/macdeployqt bin/release/TaoQuickApp.app -qmldir=/usr/local/opt/qt/qml -verbose=1 -dmg
mv bin/release/TaoQuickApp.dmg bin/release/TaoQuickApp_macos10-14_xcode10-2.dmg

0 comments on commit 483c4ec

Please sign in to comment.