This commit is contained in:
Cutls 2019-05-26 23:55:16 +09:00
parent 748a69b3bd
commit 205a3bea44

View File

@ -10,20 +10,24 @@ before_deploy:
- npm install electron-builder -g
- cd app
- npm install
- if [ "$TRAVIS_OS_NAME" = "osx" ]; npm run build ; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; electron-builder --linux --x64 --ia32 ; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; mv ../build/thedesk-*-ia32.zip ../build/thedesk-ia32.zip ; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; mv ../build/thedesk-*.zip ../build/thedesk.zip ; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; electron-builder --win --ia32 ; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; electron-builder --win --ia32 ; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk-setup.exe ../TheDesk-setup-ia32.exe ; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk*.exe ../TheDesk-ia32.exe ; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; electron-builder --win --ia32 ; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk-setup.exe ../build/TheDesk-setup-ia32.exe ; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk*.exe ../build/TheDesk-ia32.exe ; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; electron-builder --win --x64 ; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk-setup.exe ../build/TheDesk-setup.exe ; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk*.exe ../build/TheDesk.exe ; fi
-if [ true ] ; then
echo "true"
else
:fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; npm run build ; then : fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; electron-builder --linux --x64 --ia32 ; then : fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; mv ../build/thedesk-*-ia32.zip ../build/thedesk-ia32.zip ; then : fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; mv ../build/thedesk-*.zip ../build/thedesk.zip ; then : fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; electron-builder --win --ia32 ; then : fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; electron-builder --win --ia32 ; then : fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk-setup.exe ../TheDesk-setup-ia32.exe ; then : fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk*.exe ../TheDesk-ia32.exe ; then : fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; electron-builder --win --ia32 ; then : fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk-setup.exe ../build/TheDesk-setup-ia32.exe ; then : fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk*.exe ../build/TheDesk-ia32.exe ; then : fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; electron-builder --win --x64 ; then : fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk-setup.exe ../build/TheDesk-setup.exe ; then : fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk*.exe ../build/TheDesk.exe ; then : fi
- cd ../
- ls build
deploy: