Mailspring/.travis.yml

81 lines
2.7 KiB
YAML
Raw Normal View History

sudo: false
git:
submodules: false
2015-10-06 04:28:10 +08:00
addons:
apt:
fix(travis): Add support for Node 4.2 LTS, C++11 commit 95ab064d24fdaf38a846987b88494a62f9acd87a Author: mbilker <me@mbilker.us> Date: Sat Nov 21 23:31:32 2015 -0500 fix(travis): use GCC 4.8 on 0.10 and 0.12 due to newer NAN library in dependent packages commit 92cb159fd99c05729f6c7867c848be7383847a92 Author: mbilker <me@mbilker.us> Date: Thu Nov 12 20:42:30 2015 -0500 fix(travis): switch from node 4.1 to 4.2 and add node 5 commit 973aacfdb7df72f6e3da549087492d8cb4388282 Author: mbilker <me@mbilker.us> Date: Thu Nov 5 23:44:42 2015 -0500 fix(travis): display gcc version that corresponds to the CC variable commit 6b4f907719b03924308ee33ad869d498277f15ae Author: mbilker <me@mbilker.us> Date: Thu Nov 5 23:34:11 2015 -0500 fix(travis): reenable osx node 0.12 build commit c3cb97f2db9113140e374aefb8fc71a8d150593d Author: mbilker <me@mbilker.us> Date: Thu Nov 5 23:33:40 2015 -0500 add(travis): display gcc version commit 71f3eb619d2bc7c6bc26bce11792622902ab982e Author: mbilker <me@mbilker.us> Date: Thu Nov 5 23:28:45 2015 -0500 fix(travis): set compiler in env declaration commit 0b694230211bedd8a603810cb7959652e33f3bf1 Author: mbilker <me@mbilker.us> Date: Thu Nov 5 23:25:46 2015 -0500 fix(travis): print currently used compiler in CC and CXX commit 9ca898b543b7a97bf77c11837085eb43f18872d1 Author: mbilker <me@mbilker.us> Date: Thu Nov 5 23:22:07 2015 -0500 fix(travis): install c++11 supported compilers commit e728ee7de9015e0ac945cadc744e2bca61c0731b Author: mbilker <me@mbilker.us> Date: Thu Nov 5 23:07:35 2015 -0500 fix(travis): print clang version, disable frequently failing build configs commit 8d6cf314b0d23a2e6bee1d6e543ef81dad5f4ffd Author: mbilker <me@mbilker.us> Date: Thu Nov 5 22:30:48 2015 -0500 fix(travis): delete npm prefix for node 4.1 commit b7cf33eac8ca07a7013c9248b3e90990b01cec39 Author: mbilker <me@mbilker.us> Date: Thu Nov 5 22:26:20 2015 -0500 fix(travis): nvm complains on os x about npm prefix commit 670168e4103cdd2d6eaddd32796dc581d0107a7c Author: mbilker <me@mbilker.us> Date: Thu Nov 5 22:19:25 2015 -0500 add(travis): test node 4.1 under linux and os x
2015-11-24 09:16:20 +08:00
sources:
- ubuntu-toolchain-r-test
2015-10-06 04:28:10 +08:00
packages:
2015-10-08 09:52:42 +08:00
- build-essential
fix(travis): Add support for Node 4.2 LTS, C++11 commit 95ab064d24fdaf38a846987b88494a62f9acd87a Author: mbilker <me@mbilker.us> Date: Sat Nov 21 23:31:32 2015 -0500 fix(travis): use GCC 4.8 on 0.10 and 0.12 due to newer NAN library in dependent packages commit 92cb159fd99c05729f6c7867c848be7383847a92 Author: mbilker <me@mbilker.us> Date: Thu Nov 12 20:42:30 2015 -0500 fix(travis): switch from node 4.1 to 4.2 and add node 5 commit 973aacfdb7df72f6e3da549087492d8cb4388282 Author: mbilker <me@mbilker.us> Date: Thu Nov 5 23:44:42 2015 -0500 fix(travis): display gcc version that corresponds to the CC variable commit 6b4f907719b03924308ee33ad869d498277f15ae Author: mbilker <me@mbilker.us> Date: Thu Nov 5 23:34:11 2015 -0500 fix(travis): reenable osx node 0.12 build commit c3cb97f2db9113140e374aefb8fc71a8d150593d Author: mbilker <me@mbilker.us> Date: Thu Nov 5 23:33:40 2015 -0500 add(travis): display gcc version commit 71f3eb619d2bc7c6bc26bce11792622902ab982e Author: mbilker <me@mbilker.us> Date: Thu Nov 5 23:28:45 2015 -0500 fix(travis): set compiler in env declaration commit 0b694230211bedd8a603810cb7959652e33f3bf1 Author: mbilker <me@mbilker.us> Date: Thu Nov 5 23:25:46 2015 -0500 fix(travis): print currently used compiler in CC and CXX commit 9ca898b543b7a97bf77c11837085eb43f18872d1 Author: mbilker <me@mbilker.us> Date: Thu Nov 5 23:22:07 2015 -0500 fix(travis): install c++11 supported compilers commit e728ee7de9015e0ac945cadc744e2bca61c0731b Author: mbilker <me@mbilker.us> Date: Thu Nov 5 23:07:35 2015 -0500 fix(travis): print clang version, disable frequently failing build configs commit 8d6cf314b0d23a2e6bee1d6e543ef81dad5f4ffd Author: mbilker <me@mbilker.us> Date: Thu Nov 5 22:30:48 2015 -0500 fix(travis): delete npm prefix for node 4.1 commit b7cf33eac8ca07a7013c9248b3e90990b01cec39 Author: mbilker <me@mbilker.us> Date: Thu Nov 5 22:26:20 2015 -0500 fix(travis): nvm complains on os x about npm prefix commit 670168e4103cdd2d6eaddd32796dc581d0107a7c Author: mbilker <me@mbilker.us> Date: Thu Nov 5 22:19:25 2015 -0500 add(travis): test node 4.1 under linux and os x
2015-11-24 09:16:20 +08:00
- clang
- fakeroot
- g++-4.8
2015-10-08 09:52:42 +08:00
- git
- libgnome-keyring-dev
- xvfb
- rpm
2015-11-30 13:29:49 +08:00
branches:
only:
- master
- ci-test
- stable
matrix:
include:
- os: linux
env: NODE_VERSION=0.12 CC=gcc-4.8 CXX=g++-4.8
- os: linux
env: NODE_VERSION=4.2 CC=gcc-4.8 CXX=g++-4.8 PUBLISH_BUILD=true
- os: linux
env: NODE_VERSION=5 CC=gcc-4.8 CXX=g++-4.8
- os: osx
env: NODE_VERSION=4.2 CC=clang CXX=clang++ PUBLISH_BUILD=true
before_install:
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
openssl aes-256-cbc -k "$DECRYPTION_PASSWORD" -in build/resources/ssh/nylas-n1-ci-ssh.openssl.enc -out nylas-n1-ci-ssh -d;
mv nylas-n1-ci-ssh ~/.ssh/id_rsa;
chmod 400 ~/.ssh/id_rsa;
2015-12-11 03:16:55 +08:00
ssh-keyscan github.com >> ~/.ssh/known_hosts;
git submodule update --init --recursive;
2>/dev/null 1>/dev/null openssl aes-256-cbc -K $encrypted_d583b56b822e_key -iv $encrypted_d583b56b822e_iv -in src/pro/encrypted_certificates/travis/travis-files.tar.enc -out src/pro/encrypted_certificates/travis/travis-files.tar -d;
mkdir build/resources/certs;
2>/dev/null 1>/dev/null tar xvf src/pro/encrypted_certificates/travis/travis-files.tar --directory=build/resources/certs/;
2>/dev/null 1>/dev/null source build/resources/certs/set_unix_env.sh;
fi
install:
- echo $CC
- echo $CXX
- clang --version
- if [ "$CC" = "gcc-4.8" ]; then gcc-4.8 -v; else gcc -v; fi
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
- source /tmp/.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use --delete-prefix $NODE_VERSION
before_script:
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
export DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
fi
script: script/cibuild
2015-12-11 03:16:55 +08:00
cache:
directories:
- node_modules
- build/node_modules
2015-12-11 03:16:55 +08:00
# The NYLAS_GITHUB_OAUTH_TOKEN is overriden by build/resources/certs/set_unix_env.sh
env:
global:
- secure: O+XG3C/VnCfCVXTHudOQ6JMmBqrRHXh1j7jRwfQ3PYd27gm9BWNjvwlbWTLNcaar9gM00Pwi3rR8IujzJLlw3usZGWbJMLkz+aPYdOlbiDLhyMdIHwX4oI58d1eHx7m8Eun3qT3Y0VkO3blBNdWFWV4ebkfLZyygzXva4CDlSFtbeQYGy4ft76v7Au9uVlOUoV8f+juPx+0Jv+AtQmsY9Sf+6WbxrNaE9y2u2q1ks+XpjFn8Wt1f/xp/Vae0/MjJFpGIVfaUy+q7W8QQ0TyzSCM0eGtjxilS+BkGHjjvlLlMdCspRnZzpSJC+KkpEKLJrAPjR0DAfYMedWockEaIwGG8Onf90fXKG0nlvAg4WrWjnpr0q+V79zOU/yYD/kysLBYg6fYzv6uTvN7TzNaFkKaiQZvorI9P8w/wShGFHE4Y8JC5QU4CLI8q2qrkI38KKt3valIP4qxA/56aM0+D5roTecfh3Y40OcpqKZicpeNvuB1u2FmD2+oxLEb3MVnyfnVnDBP7Crp8/oLsIl/gGR/SVUEyLIimozugUySnCig1BEicygECvp6eRpEHryNrEvLKfxtppr3eWcRKQwnYwch4CaFwya0Lpc1dSA9NaOFQu0kR374s+fhqYgrkaCJevZd+ouKY+0Zt8gZ4CjJVhJ5YamwZAPG+obRd9G3xRM0=
- NYLAS_GITHUB_OAUTH_TOKEN=cb200be7c921f73a1c35930f6a4ac8758b271be0
notifications:
slack: nylas:Egem0aHuqMfkIlycPswxblzJ