Try fix build

This commit is contained in:
Daniel Imms
2017-07-08 17:47:54 -07:00
parent b520e2fd35
commit 0536862b8f
+13 -8
View File
@@ -4,18 +4,23 @@ os:
- osx - osx
node_js: node_js:
- 6 - 6
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq install g++-4.8 ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-4.8 ; fi
env: env:
global: # global:
- CXX=g++-4.8 # - CXX=g++-4.8
matrix: matrix:
- NPM_COMMAND=lint - NPM_COMMAND=lint
- NPM_COMMAND=test - NPM_COMMAND=test
addons: # addons:
apt: # apt:
sources: # sources:
- ubuntu-toolchain-r-test # - ubuntu-toolchain-r-test
packages: # packages:
- g++-4.8 # - g++-4.8
notifications: notifications:
email: false email: false
script: npm run $NPM_COMMAND script: npm run $NPM_COMMAND