diff options
author | JohnAlbin <virtually.johnalbin@gmail.com> | 2016-04-30 13:37:44 +0300 |
---|---|---|
committer | JohnAlbin <virtually.johnalbin@gmail.com> | 2016-04-30 13:37:44 +0300 |
commit | 6badbd2a7551be32a90118a6db12799b0aadf8e0 (patch) | |
tree | 5331360472ec597d227b6c1c4d8e936db8ac848c /.travis.yml | |
parent | 277a9be83d8dd1ff8fa72cb8c46c162cf935e1e9 (diff) |
Add Node.js to Travis tests.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index ac2f846..ffe0647 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,4 +6,23 @@ node_js: - '0.12' - '4' - '5' + - '6' script: npm test + +# Eyeglass requires this to install on Node.js under Travis. *sigh* +before_install: + - if [ $TRAVIS_OS_NAME == "linux" ]; then + export CC="gcc-4.7"; + export CXX="g++-4.7"; + export LINK="gcc-4.7"; + export LINKXX="g++-4.7"; + fi + - gcc --version + - g++ --version +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-4.7 + - g++-4.7 |