travis 10

This commit is contained in:
Cutls 2019-05-27 00:22:50 +09:00
parent d25fcfadc1
commit 68260f3d85

View File

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