# After changing this file, check it on: # http://lint.travis-ci.org/ # # Known lint bugs: # - addons: https://github.com/travis-ci/travis-yaml/issues/58 # - osx: https://github.com/travis-ci/travis-yaml/issues/95 language: node_js # Is `sudo` required? If not, jobs are run on container-based infrastructure. sudo: true os: - linux - osx node_js: # Node.js - 'node' - '6' - '5' - '4' # io.js - '3' - '2' - '1' # Node.js - '0.12' - '0.10' env: # Environment variables common to all jobs: global: - CXX=g++-4.8 # Environment variables used to construct build matrix: matrix: - BUILD_TASK='test' - BUILD_TASK='benchmark' - BUILD_TASK='examples' - BUILD_TASK='test-coverage' matrix: # Flag to immediately finish a build if any one of the jobs fails: fast_finish: true # Compiling native modules for io.js v3.x.x or Node.js >=v4.0.0 requires a C++11 standard-compliant compiler. Specifically, either gcc >=4.8 or clang >=3.5. addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 # Set the clone depth: git: depth: 50 before_install: # Update the npm client. Older clients cannot, e.g., handle scoped modules. - npm update -g npm script: - chmod +x ./tools/ci/travis/script - "./tools/ci/travis/script $BUILD_TASK" after_script: - chmod +x ./tools/ci/travis/after_script - "./tools/ci/travis/after_script" notifications: slack: rooms: secure: "RvY7XdxrvM3clWcnCIDYym+NerUVqpFS8Xekg7owYHgIm159zdpg5aIQAXvCuW4n82cK4bl932Cws6fzlXlnqS/0mjP1VTB1cQ32gL3TG2KpWAGJhtcl2gKEqM5KOZIKOW3171j0rsMQUODmke/N2316ACvgYoOUJbQXoOdaFIkWEMqgVxyq2sl9sC+4mPW3TmZEXNzn9Kt+OphunbfgEBrbkAL1QjiXYZnhhYT4SQ/QwaHtvI0MmYQ3B5GLXXMx+NkXrG3qcXx7XLxbw61rTKxY+vWqAh9w4MznlVptf8NiPCd0MX+2VyRPVow9wqZ68yWFAOHYt4zlW+uGlqr9cT31sQjuCH4WNjSPx+5YMrD4a7oBRAmxpIa7v7yRIhXR6Ia/0YO5S0kkV2MaSj+SiCcGSehWbV8NdlGzu5eD8JYzHQUykqCoKkfRC21F4ppvVL+rC8odkMLtLVOwA6+oDngqSuhXCRI8miac1YEmtu8Cj+JOVxgTudVQUkzcdgr7apUFRI3SblPQZnT0k/2eU0/U818z44tsDk5CcbCVXUCyre7vHNRrGGu8JaN7czxRKjEvbN//qGVixxm0tldQKgV1p3s0NVHPQJeuPX0hy3qHaQnzzPoJtNQvqjeOdPZsCArGjhQoWrP3QkIE0s8ZYFQnuQ1DqH3Pcqgvf45vjq0="