Skip to content

Commit

Permalink
build: add names to our Travis builds
Browse files Browse the repository at this point in the history
PR-URL: nodejs#219
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
Matheus Marchini committed Aug 9, 2018
1 parent 54d9ec8 commit 65debbd
Showing 1 changed file with 40 additions and 13 deletions.
53 changes: 40 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,48 @@
language: node_js
matrix:
include:
# Test on Ubuntu Trusty
- sudo: required
#################
# Ubuntu Trusty #
#################

- name: "[Trusty] Node.js v6.x"
sudo: required
dist: trusty
before_install:
- sudo apt-get -qq update
- sudo apt-get install lldb-3.9 liblldb-3.9-dev -y
install: npm install --llnode_build_addon=true
script: TEST_LLDB_BINARY=`which lldb-3.9` npm run test-all
node_js: "6"
- sudo: required

- name: "[Trusty] Node.js v8.x"
sudo: required
dist: trusty
before_install:
- sudo apt-get -qq update
- sudo apt-get install lldb-3.9 liblldb-3.9-dev -y
install: npm install --llnode_build_addon=true
script: TEST_LLDB_BINARY=`which lldb-3.9` npm run test-all
node_js: "8"
- sudo: required

- name: "[Trusty] Node.js v10.x"
sudo: required
dist: trusty
before_install:
- sudo apt-get -qq update
- sudo apt-get install lldb-3.9 liblldb-3.9-dev -y
install: npm install --llnode_build_addon=true
script: TEST_LLDB_BINARY=`which lldb-3.9` npm run test-all
node_js: "10"
# Test Node.js master nightly build


###########################
# Nightlies & V8 Canaries #
###########################

# Addon is not tested due to lack of node-addon-api
- node_js: "node"
- name: "[Trusty] Node.js Nightly"
node_js: "node"
sudo: required
dist: trusty
before_install:
Expand All @@ -40,9 +54,10 @@ matrix:
env:
- NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly
- NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly
# Test Node.js v8-canary nightly build

# Addon is not tested due to lack of node-addon-api
- node_js: "node"
- name: "[Trusty] Node.js V8 Canary"
node_js: "node"
sudo: required
dist: trusty
before_install:
Expand All @@ -54,30 +69,42 @@ matrix:
env:
- NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/v8-canary
- NODEJS_ORG_MIRROR=https://nodejs.org/download/v8-canary
# Test on OS X
- os: osx

########
# OS X #
########

- name: "[OSX] Node.js v6.x"
os: osx
osx_image: xcode9.3
install: npm install --llnode_build_addon=true
script: npm run test-all
node_js: "6"
- os: osx

- name: "[OSX] Node.js v8.x"
os: osx
osx_image: xcode9.3
install: npm install --llnode_build_addon=true
script: npm run test-all
node_js: "8"
- os: osx

- name: "[OSX] Node.js v10.x"
os: osx
osx_image: xcode9.3
install: npm install --llnode_build_addon=true
script: npm run test-all
node_js: "10"

# Allow the nightly installs to fail
allow_failures:
# Allow the nightly installs to fail

- node_js: "node"
sudo: required
dist: trusty
env:
- NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly
- NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly

- node_js: "node"
sudo: required
dist: trusty
Expand Down

0 comments on commit 65debbd

Please sign in to comment.