File tree 5 files changed +117
-134
lines changed
5 files changed +117
-134
lines changed Original file line number Diff line number Diff line change @@ -25,21 +25,12 @@ install:
25
25
mkdir app/build/resources/certs;
26
26
tar xf app/build/resources/certs.tar --directory=app/build/resources/;
27
27
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
-
33
28
build_script :
34
29
- cmd : npm install
35
- - cmd : npm install --global windows-build-tools
36
- - cmd : cd .\mailsync && .\build.cmd && cd ..\
37
30
- cmd : npm run build
38
31
- cmd : node app/build/create-signed-windows-installer.js
39
32
40
33
before_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 }
43
34
- ps : Get-ChildItem .\app\dist\MailspringSetup.exe | % { Push-AppveyorArtifact $_.FullName -FileName "win-ia32/$($_.Name)" -DeploymentName s3-deployment }
44
35
- ps : Get-ChildItem .\app\dist\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName "win-ia32/$($_.Name)" -DeploymentName s3-deployment }
45
36
- ps : Get-ChildItem .\app\dist\RELEASES | % { Push-AppveyorArtifact $_.FullName -FileName "win-ia32/$($_.Name)" -DeploymentName s3-deployment }
@@ -72,6 +63,6 @@ environment:
72
63
secure : B2pwd1AlmQHjIpIau1NylfEMkwJJ5u7NhxgZcU8WicwP6+cmePnAacYIwpe1fXEf
73
64
74
65
cache :
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:
14
14
target_paths : client/${TRAVIS_COMMIT:0:8}/${TRAVIS_OS_NAME}
15
15
permissions : public-read
16
16
paths :
17
- - mailsync.tar.gz
18
17
- Mailspring.dmg
19
18
- Mailspring.zip
20
19
- $(find . -type f -name mailspring-*.deb | tr "\n" ":")
@@ -31,32 +30,11 @@ addons:
31
30
sources :
32
31
- ubuntu-toolchain-r-test
33
32
packages :
34
- - autoconf
35
- - automake
33
+ - python3.6
36
34
- build-essential
37
- - clang
38
- - cmake
39
- - execstack
40
- - fakeroot
41
- - g++-5
42
35
- git
43
- - libc-ares-dev
44
- - libctemplate-dev
45
- - libcurl4-openssl-dev
46
- - libglib2.0-dev
47
36
- libgnome-keyring-dev
48
- - libicu-dev
49
- - libsasl2-dev
50
- - libsasl2-modules
51
- - libsasl2-modules-gssapi-mit
52
37
- libsecret-1-dev
53
- - libssl-dev
54
- - libtidy-dev
55
- - libtool
56
- - libxext-dev
57
- - libxkbfile-dev
58
- - libxml2-dev
59
- - libxtst-dev
60
38
- rpm
61
39
- uuid-dev
62
40
- xvfb
@@ -86,8 +64,6 @@ before_install:
86
64
[ "$TRAVIS_REPO_SLUG" != "Foundry376/Mailspring" ]
87
65
- source app/build/resources/certs/mac/set_unix_env.sh ||
88
66
[ "$TRAVIS_REPO_SLUG" != "Foundry376/Mailspring" ]
89
- # Checkout the C++ Mailsync codebase
90
- - git submodule update --init mailsync
91
67
92
68
# Resolves https://travis-ci.community/t/npm-ci-will-fail-if-cached-dependency-includes-npm/4203/6
93
69
# Don't run the copy of npm inside node_modules when erasing + building the node_modules...
@@ -99,15 +75,12 @@ before_script:
99
75
script :
100
76
- npm run ci-setup-mac-keychain
101
77
- npm run lint
102
- - mailsync/build.sh
103
- - mv ./mailsync ./mailsync-src
104
78
- DEBUG=electron-packager,electron-osx-sign npm run build
105
79
106
80
cache :
107
81
directories :
108
82
- node_modules
109
83
- app/node_modules
110
- - /tmp/mailsync-build-deps-v2
111
84
112
85
after_success :
113
86
# Prepare the snapcraft environment
You can’t perform that action at this time.
0 commit comments