mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-10 17:48:50 +08:00
60 lines
No EOL
1.2 KiB
YAML
60 lines
No EOL
1.2 KiB
YAML
sudo: false
|
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
- '6.9'
|
|
|
|
addons:
|
|
artifacts:
|
|
working_dir: app/dist
|
|
target_paths: client/${TRAVIS_COMMIT:0:8}/${TRAVIS_OS_NAME}
|
|
permissions: public-read
|
|
paths:
|
|
- Merani.dmg
|
|
- Merani.zip
|
|
- $(find . -type f -name *.deb | tr "\n" ":")
|
|
- $(find . -type f -name *.rpm | tr "\n" ":")
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- build-essential
|
|
- clang
|
|
- fakeroot
|
|
- g++-4.8
|
|
- git
|
|
- libgnome-keyring-dev
|
|
- xvfb
|
|
- rpm
|
|
- libxext-dev
|
|
- libxtst-dev
|
|
- libxkbfile-dev
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- "/ci-.*/"
|
|
- "/stable.*/"
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
env: CC=gcc-4.8 CXX=g++-4.8 DEBUG="electron-packager:*"
|
|
- os: osx
|
|
env: CC=clang CXX=clang++ SIGN_BUILD=true DEBUG="electron-packager:*"
|
|
|
|
before_install:
|
|
- openssl aes-256-cbc -K $encrypted_faf2708e46e2_key -iv $encrypted_faf2708e46e2_iv
|
|
-in app/build/resources/certs.tar.enc -out app/build/resources/certs.tar -d;
|
|
- mkdir app/build/resources/certs;
|
|
- tar xvf app/build/resources/certs.tar --directory=app/build/resources/;
|
|
- source app/build/resources/certs/mac/set_unix_env.sh;
|
|
|
|
script:
|
|
- npm run build
|
|
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
- app/node_modules |