diff --git a/.travis.yml b/.travis.yml index d170e161..2e91c9f7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,20 +10,20 @@ 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 [ "$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 - cd ../ - ls build deploy: