sudo: false language: generic dist: precise git: depth: 10 addons: apt: sources: - ubuntu-toolchain-r-test - llvm-toolchain-precise-3.5 packages: - clang-3.5 matrix: include: # Linux - os: linux dist: trusty compiler: clang env: NODE_VERSION="14" addons: apt: sources: [ 'ubuntu-toolchain-r-test','llvm-toolchain-precise-3.5', 'gcc-multilib', 'g++-multilib', 'libsqlite3-dev:i386' ] packages: [ 'clang-3.5', 'libstdc++-4.9-dev'] - os: linux dist: trusty compiler: clang env: NODE_VERSION="13" addons: apt: sources: [ 'ubuntu-toolchain-r-test','llvm-toolchain-precise-3.5', 'gcc-multilib', 'g++-multilib', 'libsqlite3-dev:i386' ] packages: [ 'clang-3.5', 'libstdc++-4.9-dev'] - os: linux dist: trusty compiler: clang env: NODE_VERSION="12" addons: apt: sources: [ 'ubuntu-toolchain-r-test','llvm-toolchain-precise-3.5', 'gcc-multilib', 'g++-multilib', 'libsqlite3-dev:i386' ] packages: [ 'clang-3.5', 'libstdc++-4.9-dev'] - os: linux compiler: clang env: NODE_VERSION="11" addons: apt: sources: [ 'ubuntu-toolchain-r-test','llvm-toolchain-precise-3.5', 'gcc-multilib', 'g++-multilib', 'libsqlite3-dev:i386' ] packages: [ 'clang-3.5', 'libstdc++-4.9-dev'] - os: linux compiler: clang env: NODE_VERSION="10" addons: apt: sources: [ 'ubuntu-toolchain-r-test','llvm-toolchain-precise-3.5', 'gcc-multilib', 'g++-multilib', 'libsqlite3-dev:i386' ] packages: [ 'clang-3.5', 'libstdc++-4.9-dev'] # OS X - os: osx compiler: clang env: NODE_VERSION="14" # node abi 83 - os: osx compiler: clang env: NODE_VERSION="13" # node abi 79 - os: osx compiler: clang env: NODE_VERSION="12" # node abi 72 - os: osx compiler: clang env: NODE_VERSION="11" # node abi 67 - os: osx compiler: clang env: NODE_VERSION="10" # node abi 67 # electron Linux - os: linux compiler: clang env: NODE_VERSION="12.13.0" ELECTRON_VERSION="8.2.0" dist: trusty addons: apt: sources: [ 'ubuntu-toolchain-r-test','llvm-toolchain-precise-3.5', 'gcc-multilib', 'g++-multilib', 'libsqlite3-dev:i386' ] packages: [ 'clang-3.5', 'libstdc++-4.9-dev'] - os: linux compiler: clang env: NODE_VERSION="12.13.0" ELECTRON_VERSION="8.1.0" dist: trusty addons: apt: sources: [ 'ubuntu-toolchain-r-test','llvm-toolchain-precise-3.5', 'gcc-multilib', 'g++-multilib', 'libsqlite3-dev:i386' ] packages: [ 'clang-3.5', 'libstdc++-4.9-dev'] - os: linux compiler: clang env: NODE_VERSION="12.13.0" ELECTRON_VERSION="8.0.0" dist: trusty addons: apt: sources: [ 'ubuntu-toolchain-r-test','llvm-toolchain-precise-3.5', 'gcc-multilib', 'g++-multilib', 'libsqlite3-dev:i386' ] packages: [ 'clang-3.5', 'libstdc++-4.9-dev'] - os: linux compiler: clang env: NODE_VERSION="12.8.1" ELECTRON_VERSION="7.2.0" dist: trusty addons: apt: sources: [ 'ubuntu-toolchain-r-test','llvm-toolchain-precise-3.5', 'gcc-multilib', 'g++-multilib', 'libsqlite3-dev:i386' ] packages: [ 'clang-3.5', 'libstdc++-4.9-dev'] - os: linux compiler: clang env: NODE_VERSION="12.8.1" ELECTRON_VERSION="7.1.0" dist: trusty addons: apt: sources: [ 'ubuntu-toolchain-r-test','llvm-toolchain-precise-3.5', 'gcc-multilib', 'g++-multilib', 'libsqlite3-dev:i386' ] packages: [ 'clang-3.5', 'libstdc++-4.9-dev'] - os: linux compiler: clang env: NODE_VERSION="12.8.1" ELECTRON_VERSION="7.0.0" dist: trusty addons: apt: sources: [ 'ubuntu-toolchain-r-test','llvm-toolchain-precise-3.5', 'gcc-multilib', 'g++-multilib', 'libsqlite3-dev:i386' ] packages: [ 'clang-3.5', 'libstdc++-4.9-dev'] - os: linux compiler: clang env: NODE_VERSION="12.4.0" ELECTRON_VERSION="6.1.0" dist: trusty addons: apt: sources: [ 'ubuntu-toolchain-r-test','llvm-toolchain-precise-3.5', 'gcc-multilib', 'g++-multilib', 'libsqlite3-dev:i386' ] packages: [ 'clang-3.5', 'libstdc++-4.9-dev'] - os: linux compiler: clang env: NODE_VERSION="12.4.0" ELECTRON_VERSION="6.0.0" dist: trusty # needed for libc6 / 'version `GLIBC_2.17` not found' error on precise addons: apt: sources: [ 'ubuntu-toolchain-r-test','llvm-toolchain-precise-3.5', 'gcc-multilib', 'g++-multilib', 'libsqlite3-dev:i386' ] packages: [ 'clang-3.5', 'libstdc++-4.9-dev'] # electron MacOs - os: osx compiler: clang env: NODE_VERSION="12.13.0" ELECTRON_VERSION="8.2.0" - os: osx compiler: clang env: NODE_VERSION="12.13.0" ELECTRON_VERSION="8.1.0" - os: osx compiler: clang env: NODE_VERSION="12.13.0" ELECTRON_VERSION="8.0.0" - os: osx compiler: clang env: NODE_VERSION="12.8.1" ELECTRON_VERSION="7.2.0" - os: osx compiler: clang env: NODE_VERSION="12.8.1" ELECTRON_VERSION="7.1.0" - os: osx compiler: clang env: NODE_VERSION="12.8.1" ELECTRON_VERSION="7.0.0" - os: osx compiler: clang env: NODE_VERSION="12.4.0" ELECTRON_VERSION="6.1.0" - os: osx compiler: clang env: NODE_VERSION="12.4.0" ELECTRON_VERSION="6.0.0" env: global: - JOBS: "8" before_install: - export PUBLISHABLE=${PUBLISHABLE:-true} - if [[ $(uname -s) == 'Linux' ]]; then export CXX="clang++-3.5"; export CC="clang-3.5"; export PYTHONPATH=$(pwd)/py-local/lib/python2.7/site-packages; else export PYTHONPATH=$(pwd)/py-local/lib/python/site-packages; fi; - scripts/validate_tag.sh - source ./scripts/install_node.sh ${NODE_VERSION} install: # put node-pre-gyp on path - export PATH=./node_modules/.bin/:$PATH before_script: # get commit message - export COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n') script: - if [[ "${NODE_VERSION}" ]]; then if [[ "${ELECTRON_VERSION}" ]]; then ./scripts/build_against_electron.sh; else ./scripts/build_against_node.sh; fi; fi - if [[ "${NODE_VERSION}" -eq "4" ]]; then ./node_modules/.bin/eslint lib; fi; # disabled for now: need to port to sudo:false #- if [[ "${NODE_WEBKIT}" ]]; then ./scripts/build_against_node_webkit.sh; fi;