2017-02-22 05:59:27 +08:00
|
|
|
# The open source Nylas Mail Client for Linux and Mac. See AppVeyor for
|
|
|
|
# Windows
|
2015-10-08 09:42:48 +08:00
|
|
|
sudo: false
|
2015-12-08 10:14:13 +08:00
|
|
|
|
2015-10-06 04:28:10 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
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
|
2015-11-24 09:16:20 +08:00
|
|
|
- clang
|
|
|
|
- fakeroot
|
|
|
|
- g++-4.8
|
2015-10-08 09:52:42 +08:00
|
|
|
- git
|
2015-10-08 09:42:48 +08:00
|
|
|
- libgnome-keyring-dev
|
2015-11-22 11:45:55 +08:00
|
|
|
- xvfb
|
2016-01-05 01:56:14 +08:00
|
|
|
- rpm
|
2017-01-31 07:40:52 +08:00
|
|
|
- libxext-dev
|
2017-01-31 07:55:13 +08:00
|
|
|
- libxtst-dev
|
2017-01-31 07:40:52 +08:00
|
|
|
- libxkbfile-dev
|
2015-12-08 10:14:13 +08:00
|
|
|
|
2015-11-30 13:29:49 +08:00
|
|
|
branches:
|
|
|
|
only:
|
2015-12-08 10:14:13 +08:00
|
|
|
- master
|
2017-02-22 05:59:27 +08:00
|
|
|
- /ci-.*/
|
2017-02-03 09:48:40 +08:00
|
|
|
- /stable.*/
|
2015-12-08 10:14:13 +08:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
2016-11-04 02:31:58 +08:00
|
|
|
env: NODE_VERSION=6.9 CC=gcc-4.8 CXX=g++-4.8
|
2015-12-08 10:14:13 +08:00
|
|
|
- os: osx
|
2016-11-04 02:31:58 +08:00
|
|
|
env: NODE_VERSION=6.9 CC=clang CXX=clang++
|
2015-12-08 10:14:13 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2016-11-10 06:12:47 +08:00
|
|
|
script:
|
2017-02-22 05:59:27 +08:00
|
|
|
- npm install && npm test
|
2015-12-08 10:14:13 +08:00
|
|
|
|
2015-12-11 03:16:55 +08:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
2016-11-10 06:12:47 +08:00
|
|
|
- apm/node_modules
|