Mailspring/packages/client-app/.travis.yml

54 lines
931 B
YAML
Raw Normal View History

2017-02-22 05:59:27 +08:00
# The open source Nylas Mail Client for Linux and Mac. See AppVeyor for
# Windows
sudo: 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
- libxext-dev
- libxtst-dev
- libxkbfile-dev
2015-11-30 13:29:49 +08:00
branches:
only:
- master
2017-02-22 05:59:27 +08:00
- /ci-.*/
2017-02-03 09:48:40 +08:00
- /stable.*/
matrix:
include:
- os: linux
env: NODE_VERSION=6.9 CC=gcc-4.8 CXX=g++-4.8
- os: osx
env: NODE_VERSION=6.9 CC=clang CXX=clang++
install:
- 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:
2017-02-22 05:59:27 +08:00
- npm install && npm test
2015-12-11 03:16:55 +08:00
cache:
directories:
- node_modules
- apm/node_modules