From a47d33271b54d606415092db6b6b00146e7e767b Mon Sep 17 00:00:00 2001 From: mbilker Date: Mon, 23 Nov 2015 17:16:20 -0800 Subject: [PATCH] fix(travis): Add support for Node 4.2 LTS, C++11 commit 95ab064d24fdaf38a846987b88494a62f9acd87a Author: mbilker 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 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 Date: Thu Nov 5 23:44:42 2015 -0500 fix(travis): display gcc version that corresponds to the CC variable commit 6b4f907719b03924308ee33ad869d498277f15ae Author: mbilker Date: Thu Nov 5 23:34:11 2015 -0500 fix(travis): reenable osx node 0.12 build commit c3cb97f2db9113140e374aefb8fc71a8d150593d Author: mbilker Date: Thu Nov 5 23:33:40 2015 -0500 add(travis): display gcc version commit 71f3eb619d2bc7c6bc26bce11792622902ab982e Author: mbilker Date: Thu Nov 5 23:28:45 2015 -0500 fix(travis): set compiler in env declaration commit 0b694230211bedd8a603810cb7959652e33f3bf1 Author: mbilker Date: Thu Nov 5 23:25:46 2015 -0500 fix(travis): print currently used compiler in CC and CXX commit 9ca898b543b7a97bf77c11837085eb43f18872d1 Author: mbilker Date: Thu Nov 5 23:22:07 2015 -0500 fix(travis): install c++11 supported compilers commit e728ee7de9015e0ac945cadc744e2bca61c0731b Author: mbilker Date: Thu Nov 5 23:07:35 2015 -0500 fix(travis): print clang version, disable frequently failing build configs commit 8d6cf314b0d23a2e6bee1d6e543ef81dad5f4ffd Author: mbilker Date: Thu Nov 5 22:30:48 2015 -0500 fix(travis): delete npm prefix for node 4.1 commit b7cf33eac8ca07a7013c9248b3e90990b01cec39 Author: mbilker Date: Thu Nov 5 22:26:20 2015 -0500 fix(travis): nvm complains on os x about npm prefix commit 670168e4103cdd2d6eaddd32796dc581d0107a7c Author: mbilker Date: Thu Nov 5 22:19:25 2015 -0500 add(travis): test node 4.1 under linux and os x --- .travis.yml | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index b46b1f386..596678236 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,33 +2,53 @@ env: global: - NYLAS_ACCESS_TOKEN=cb200be7c921f73a1c35930f6a4ac8758b271be0 -compiler: clang +compiler: + - clang + - gcc matrix: include: +# Wants a c++11 compiler - os: linux - env: NODE_VERSION=0.10 + env: NODE_VERSION=0.10 CC=gcc-4.8 CXX=g++-4.8 - os: linux - env: NODE_VERSION=0.12 + 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 + - os: linux + env: NODE_VERSION=5 CC=gcc-4.8 CXX=g++-4.8 - os: osx env: NODE_VERSION=0.10 - os: osx - env: NODE_VERSION=0.12 + env: NODE_VERSION=0.12 CC=clang CXX=clang++ +# osx already supports c++11 in Apple LLVM + - os: osx + env: NODE_VERSION=4.2 CC=clang CXX=clang++ + - os: osx + env: NODE_VERSION=5 CC=clang CXX=clang++ sudo: false 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 $NODE_VERSION + - nvm use --delete-prefix $NODE_VERSION script: script/cibuild addons: apt: + sources: + - ubuntu-toolchain-r-test packages: - build-essential + - clang + - fakeroot + - g++-4.8 - git - libgnome-keyring-dev - - fakeroot