File tree Expand file tree Collapse file tree 5 files changed +117
-134
lines changed Expand file tree Collapse file tree 5 files changed +117
-134
lines changed Original file line number Diff line number Diff line change @@ -25,21 +25,12 @@ install:
2525 mkdir app/build/resources/certs;
2626 tar xf app/build/resources/certs.tar --directory=app/build/resources/;
2727
28- # Clone the submodule
29- - ps : |
30- $env:GIT_SSH_COMMAND="ssh -q -i app/build/resources/certs/mailsync-deploy-key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no";
31- git submodule --quiet update --init mailsync *>$null
32-
3328build_script :
3429 - cmd : npm install
35- - cmd : npm install --global windows-build-tools
36- - cmd : cd .\mailsync && .\build.cmd && cd ..\
3730 - cmd : npm run build
3831 - cmd : node app/build/create-signed-windows-installer.js
3932
4033before_deploy :
41- - cmd : 7z -ttar a dummy %APPVEYOR_BUILD_FOLDER%\app\dist\*.dll %APPVEYOR_BUILD_FOLDER%\app\dist\*.pdb %APPVEYOR_BUILD_FOLDER%\app\dist\mailsync.exe -so | 7z -si -tgzip a .\app\dist\mailsync.tar.gz
42- - ps : Get-ChildItem .\app\dist\*.tar.gz | % { Push-AppveyorArtifact $_.FullName -FileName "win-ia32/$($_.Name)" -DeploymentName s3-deployment }
4334 - ps : Get-ChildItem .\app\dist\MailspringSetup.exe | % { Push-AppveyorArtifact $_.FullName -FileName "win-ia32/$($_.Name)" -DeploymentName s3-deployment }
4435 - ps : Get-ChildItem .\app\dist\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName "win-ia32/$($_.Name)" -DeploymentName s3-deployment }
4536 - ps : Get-ChildItem .\app\dist\RELEASES | % { Push-AppveyorArtifact $_.FullName -FileName "win-ia32/$($_.Name)" -DeploymentName s3-deployment }
@@ -72,6 +63,6 @@ environment:
7263 secure : B2pwd1AlmQHjIpIau1NylfEMkwJJ5u7NhxgZcU8WicwP6+cmePnAacYIwpe1fXEf
7364
7465cache :
75- # - node_modules -> package.json
76- # - app\node_modules -> app\package.json
77- # - '%USERPROFILE%\.npm'
66+ - node_modules -> package.json
67+ - app\node_modules -> app\package.json
68+ - ' %USERPROFILE%\.npm'
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ addons:
1414 target_paths : client/${TRAVIS_COMMIT:0:8}/${TRAVIS_OS_NAME}
1515 permissions : public-read
1616 paths :
17- - mailsync.tar.gz
1817 - Mailspring.dmg
1918 - Mailspring.zip
2019 - $(find . -type f -name mailspring-*.deb | tr "\n" ":")
@@ -31,32 +30,11 @@ addons:
3130 sources :
3231 - ubuntu-toolchain-r-test
3332 packages :
34- - autoconf
35- - automake
33+ - python3.6
3634 - build-essential
37- - clang
38- - cmake
39- - execstack
40- - fakeroot
41- - g++-5
4235 - git
43- - libc-ares-dev
44- - libctemplate-dev
45- - libcurl4-openssl-dev
46- - libglib2.0-dev
4736 - libgnome-keyring-dev
48- - libicu-dev
49- - libsasl2-dev
50- - libsasl2-modules
51- - libsasl2-modules-gssapi-mit
5237 - libsecret-1-dev
53- - libssl-dev
54- - libtidy-dev
55- - libtool
56- - libxext-dev
57- - libxkbfile-dev
58- - libxml2-dev
59- - libxtst-dev
6038 - rpm
6139 - uuid-dev
6240 - xvfb
@@ -86,8 +64,6 @@ before_install:
8664 [ "$TRAVIS_REPO_SLUG" != "Foundry376/Mailspring" ]
8765 - source app/build/resources/certs/mac/set_unix_env.sh ||
8866 [ "$TRAVIS_REPO_SLUG" != "Foundry376/Mailspring" ]
89- # Checkout the C++ Mailsync codebase
90- - git submodule update --init mailsync
9167
9268# Resolves https://travis-ci.community/t/npm-ci-will-fail-if-cached-dependency-includes-npm/4203/6
9369# Don't run the copy of npm inside node_modules when erasing + building the node_modules...
@@ -99,15 +75,12 @@ before_script:
9975script :
10076 - npm run ci-setup-mac-keychain
10177 - npm run lint
102- - mailsync/build.sh
103- - mv ./mailsync ./mailsync-src
10478 - DEBUG=electron-packager,electron-osx-sign npm run build
10579
10680cache :
10781 directories :
10882 - node_modules
10983 - app/node_modules
110- - /tmp/mailsync-build-deps-v2
11184
11285after_success :
11386 # Prepare the snapcraft environment
You can’t perform that action at this time.
0 commit comments